home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
You can browse this item here: cutils-1
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive (GNU)
| default
| |
99%
| file
| POSIX tar archive (GNU), directory cutils-1.0/, mode 40755 , uid 627 , gid 144 , size 0 , seconds 6165261642, user sandro, group users
| default
| |
98%
| file
| data
| default
| |
62%
| TrID
| TAR - Tape ARchive (GNU)
| default
| |
37%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| GNU tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive (GNU), owner user name: ".0/"
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 00 00 00 00 00 |cutils-1|.0/.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 36 |.... 407|55 . 6|
|00000070| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 36 31 36 35 32 36 31 | 0 | 6165261|
|00000090| 36 34 32 20 20 31 31 34 | 36 30 00 20 35 00 00 00 |642 114|60. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 65 74 63 2f 00 |cutils-1|.0/etc/.|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 36 |.... 407|55 . 6|
|00000270| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 36 31 36 35 32 36 31 | 0 | 6165261|
|00000290| 36 32 36 20 20 31 32 32 | 33 35 00 20 35 00 00 00 |626 122|35. 5...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 65 74 63 2f 63 |cutils-1|.0/etc/c|
|00000410| 69 6e 66 6f 2e 65 6c 00 | 00 00 00 00 00 00 00 00 |info.el.|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00000470| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00000480| 20 20 20 33 37 33 37 20 | 20 36 31 36 35 32 32 36 | 3737 | 6165226|
|00000490| 37 34 31 20 20 31 33 37 | 36 33 00 20 30 00 00 00 |741 137|63. 0...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 3b 3b 3b 20 63 69 6e 66 | 6f 2e 65 6c 20 2d 2d 2d |;;; cinf|o.el ---|
|00000610| 20 74 69 6e 79 20 65 6d | 61 63 73 20 6c 69 73 70 | tiny em|acs lisp|
|00000620| 20 69 6e 74 65 72 66 61 | 63 65 20 66 6f 72 20 63 | interfa|ce for c|
|00000630| 69 6e 66 6f 0a 0a 3b 3b | 20 24 49 64 3a 20 63 69 |info..;;| $Id: ci|
|00000640| 6e 66 6f 2e 65 6c 2c 76 | 20 31 2e 34 20 31 39 39 |nfo.el,v| 1.4 199|
|00000650| 36 2f 30 36 2f 32 39 20 | 31 33 3a 32 31 3a 33 37 |6/06/29 |13:21:37|
|00000660| 20 73 61 6e 64 72 6f 20 | 45 78 70 20 24 0a 0a 3b | sandro |Exp $..;|
|00000670| 3b 20 43 6f 70 79 72 69 | 67 68 74 20 28 43 29 20 |; Copyri|ght (C) |
|00000680| 31 39 39 35 2c 20 31 39 | 39 36 20 53 61 6e 64 72 |1995, 19|96 Sandr|
|00000690| 6f 20 53 69 67 61 6c 61 | 0a 0a 3b 3b 20 74 68 65 |o Sigala|..;; the|
|000006a0| 20 62 69 6e 64 65 64 20 | 6b 65 79 20 69 73 20 60 | binded |key is `|
|000006b0| 43 2d 78 20 7a 27 0a 0a | 3b 3b 3b 20 43 6f 64 65 |C-x z'..|;;; Code|
|000006c0| 3a 0a 0a 28 6d 65 73 73 | 61 67 65 20 22 5b 6c 6f |:..(mess|age "[lo|
|000006d0| 61 64 69 6e 67 20 63 69 | 6e 66 6f 2e 2e 2e 5d 22 |ading ci|nfo...]"|
|000006e0| 29 0a 0a 28 64 65 66 63 | 6f 6e 73 74 20 63 69 6e |)..(defc|onst cin|
|000006f0| 66 6f 2d 62 69 6e 64 65 | 64 2d 6b 65 79 20 22 5c |fo-binde|d-key "\|
|00000700| 43 2d 78 7a 22 29 0a 28 | 64 65 66 63 6f 6e 73 74 |C-xz").(|defconst|
|00000710| 20 63 69 6e 66 6f 2d 64 | 65 66 61 75 6c 74 2d 62 | cinfo-d|efault-b|
|00000720| 75 66 66 65 72 2d 6e 61 | 6d 65 20 22 2a 63 69 6e |uffer-na|me "*cin|
|00000730| 66 6f 20 6f 75 74 70 75 | 74 2a 22 29 0a 0a 28 64 |fo outpu|t*")..(d|
|00000740| 65 66 76 61 72 20 63 69 | 6e 66 6f 2d 62 75 66 66 |efvar ci|nfo-buff|
|00000750| 65 72 20 6e 69 6c 29 0a | 0a 28 64 65 66 75 6e 20 |er nil).|.(defun |
|00000760| 63 69 6e 66 6f 2d 67 65 | 74 2d 77 6f 72 64 20 28 |cinfo-ge|t-word (|
|00000770| 29 0a 20 20 28 6c 65 74 | 20 28 28 63 69 6e 66 6f |). (let| ((cinfo|
|00000780| 2d 63 61 73 65 63 68 61 | 72 73 20 22 5b 61 2d 7a |-casecha|rs "[a-z|
|00000790| 41 2d 5a 5f 5d 2b 5b 61 | 2d 7a 41 2d 5a 5f 30 2d |A-Z_]+[a|-zA-Z_0-|
|000007a0| 39 5d 2a 22 29 0a 09 28 | 63 69 6e 66 6f 2d 6e 6f |9]*")..(|cinfo-no|
|000007b0| 74 2d 63 61 73 65 63 68 | 61 72 73 20 22 5b 5e 41 |t-casech|ars "[^A|
|000007c0| 2d 5a 61 2d 7a 5f 30 2d | 39 5d 22 29 29 0a 20 20 |-Za-z_0-|9]")). |
|000007d0| 20 20 28 69 66 20 28 6e | 6f 74 20 28 6c 6f 6f 6b | (if (n|ot (look|
|000007e0| 69 6e 67 2d 61 74 20 63 | 69 6e 66 6f 2d 63 61 73 |ing-at c|info-cas|
|000007f0| 65 63 68 61 72 73 29 29 | 0a 09 28 72 65 2d 73 65 |echars))|..(re-se|
|00000800| 61 72 63 68 2d 66 6f 72 | 77 61 72 64 20 63 69 6e |arch-for|ward cin|
|00000810| 66 6f 2d 63 61 73 65 63 | 68 61 72 73 20 28 70 6f |fo-casec|hars (po|
|00000820| 69 6e 74 2d 6d 61 78 29 | 20 74 29 29 0a 20 20 20 |int-max)| t)). |
|00000830| 20 28 72 65 2d 73 65 61 | 72 63 68 2d 62 61 63 6b | (re-sea|rch-back|
|00000840| 77 61 72 64 20 63 69 6e | 66 6f 2d 6e 6f 74 2d 63 |ward cin|fo-not-c|
|00000850| 61 73 65 63 68 61 72 73 | 20 28 70 6f 69 6e 74 2d |asechars| (point-|
|00000860| 6d 69 6e 29 20 74 29 0a | 20 20 20 20 28 6f 72 20 |min) t).| (or |
|00000870| 28 72 65 2d 73 65 61 72 | 63 68 2d 66 6f 72 77 61 |(re-sear|ch-forwa|
|00000880| 72 64 20 63 69 6e 66 6f | 2d 63 61 73 65 63 68 61 |rd cinfo|-casecha|
|00000890| 72 73 20 28 70 6f 69 6e | 74 2d 6d 61 78 29 20 74 |rs (poin|t-max) t|
|000008a0| 29 0a 09 28 72 65 2d 73 | 65 61 72 63 68 2d 62 61 |)..(re-s|earch-ba|
|000008b0| 63 6b 77 61 72 64 20 63 | 69 6e 66 6f 2d 6e 6f 74 |ckward c|info-not|
|000008c0| 2d 63 61 73 65 63 68 61 | 72 73 20 28 70 6f 69 6e |-casecha|rs (poin|
|000008d0| 74 2d 6d 69 6e 29 20 74 | 29 0a 09 28 65 72 72 6f |t-min) t|)..(erro|
|000008e0| 72 20 22 5b 6e 6f 20 77 | 6f 72 64 20 66 6f 75 6e |r "[no w|ord foun|
|000008f0| 64 5d 22 29 29 0a 20 20 | 20 20 28 62 75 66 66 65 |d]")). | (buffe|
|00000900| 72 2d 73 75 62 73 74 72 | 69 6e 67 20 28 6d 61 74 |r-substr|ing (mat|
|00000910| 63 68 2d 62 65 67 69 6e | 6e 69 6e 67 20 30 29 20 |ch-begin|ning 0) |
|00000920| 28 70 6f 69 6e 74 29 29 | 29 29 0a 0a 28 64 65 66 |(point))|))..(def|
|00000930| 75 6e 20 63 69 6e 66 6f | 2d 6d 61 6b 65 2d 64 6f |un cinfo|-make-do|
|00000940| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 2d 62 75 66 66 |cumentat|ion-buff|
|00000950| 65 72 20 28 73 79 6d 29 | 0a 20 20 28 69 66 20 63 |er (sym)|. (if c|
|00000960| 69 6e 66 6f 2d 62 75 66 | 66 65 72 0a 20 20 20 20 |info-buf|fer. |
|00000970| 20 20 28 6b 69 6c 6c 2d | 62 75 66 66 65 72 20 63 | (kill-|buffer c|
|00000980| 69 6e 66 6f 2d 62 75 66 | 66 65 72 29 29 0a 20 20 |info-buf|fer)). |
|00000990| 28 73 65 74 71 20 63 69 | 6e 66 6f 2d 62 75 66 66 |(setq ci|nfo-buff|
|000009a0| 65 72 20 28 67 65 6e 65 | 72 61 74 65 2d 6e 65 77 |er (gene|rate-new|
|000009b0| 2d 62 75 66 66 65 72 20 | 63 69 6e 66 6f 2d 64 65 |-buffer |cinfo-de|
|000009c0| 66 61 75 6c 74 2d 62 75 | 66 66 65 72 2d 6e 61 6d |fault-bu|ffer-nam|
|000009d0| 65 29 29 0a 20 20 28 6d | 65 73 73 61 67 65 20 22 |e)). (m|essage "|
|000009e0| 72 75 6e 6e 69 6e 67 20 | 63 69 6e 66 6f 2e 2e 2e |running |cinfo...|
|000009f0| 22 29 0a 20 20 28 63 61 | 6c 6c 2d 70 72 6f 63 65 |"). (ca|ll-proce|
|00000a00| 73 73 20 22 63 69 6e 66 | 6f 22 20 6e 69 6c 20 63 |ss "cinf|o" nil c|
|00000a10| 69 6e 66 6f 2d 62 75 66 | 66 65 72 20 6e 69 6c 20 |info-buf|fer nil |
|00000a20| 73 79 6d 29 0a 20 20 28 | 69 66 20 28 73 61 76 65 |sym). (|if (save|
|00000a30| 2d 65 78 63 75 72 73 69 | 6f 6e 0a 09 28 73 65 74 |-excursi|on..(set|
|00000a40| 2d 62 75 66 66 65 72 20 | 63 69 6e 66 6f 2d 62 75 |-buffer |cinfo-bu|
|00000a50| 66 66 65 72 29 0a 09 28 | 69 66 20 28 3c 20 32 20 |ffer)..(|if (< 2 |
|00000a60| 28 70 6f 69 6e 74 2d 6d | 61 78 29 29 0a 09 20 20 |(point-m|ax)).. |
|00000a70| 20 20 28 70 72 6f 67 6e | 0a 09 20 20 20 20 20 20 | (progn|.. |
|00000a80| 28 67 6f 74 6f 2d 63 68 | 61 72 20 28 70 6f 69 6e |(goto-ch|ar (poin|
|00000a90| 74 2d 6d 69 6e 29 29 0a | 09 20 20 20 20 20 20 28 |t-min)).|. (|
|00000aa0| 6d 65 73 73 61 67 65 20 | 6e 69 6c 29 20 74 29 0a |message |nil) t).|
|00000ab0| 09 20 20 6e 69 6c 29 29 | 0a 20 20 20 20 20 20 28 |. nil))|. (|
|00000ac0| 64 69 73 70 6c 61 79 2d | 62 75 66 66 65 72 20 63 |display-|buffer c|
|00000ad0| 69 6e 66 6f 2d 62 75 66 | 66 65 72 29 0a 20 20 20 |info-buf|fer). |
|00000ae0| 20 28 6b 69 6c 6c 2d 62 | 75 66 66 65 72 20 63 69 | (kill-b|uffer ci|
|00000af0| 6e 66 6f 2d 62 75 66 66 | 65 72 29 0a 20 20 20 20 |nfo-buff|er). |
|00000b00| 28 65 72 72 6f 72 20 22 | 5b 6e 6f 20 64 6f 63 75 |(error "|[no docu|
|00000b10| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 75 6e 64 5d |mentatio|n found]|
|00000b20| 22 20 73 79 6d 29 29 29 | 0a 20 0a 28 64 65 66 75 |" sym)))|. .(defu|
|00000b30| 6e 20 63 69 6e 66 6f 2d | 64 6f 63 75 6d 65 6e 74 |n cinfo-|document|
|00000b40| 2d 73 79 6d 62 6f 6c 20 | 28 61 72 67 29 0a 22 54 |-symbol |(arg)."T|
|00000b50| 68 69 73 20 63 6f 6d 6d | 61 6e 64 20 72 75 6e 73 |his comm|and runs|
|00000b60| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 60 63 69 | the pro|gram `ci|
|00000b70| 6e 66 6f 27 20 74 6f 20 | 72 65 74 72 69 76 65 20 |nfo' to |retrive |
|00000b80| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 61 62 |document|ation ab|
|00000b90| 6f 75 74 20 74 68 65 0a | 73 70 65 63 69 66 69 65 |out the.|specifie|
|00000ba0| 64 20 73 79 6d 62 6f 6c | 20 61 6e 64 20 70 6c 61 |d symbol| and pla|
|00000bb0| 63 65 73 20 74 68 65 20 | 72 65 73 75 6c 74 73 20 |ces the |results |
|00000bc0| 69 6e 20 61 20 62 75 66 | 66 65 72 20 6e 61 6d 65 |in a buf|fer name|
|00000bd0| 64 20 60 2a 63 69 6e 66 | 6f 20 6f 75 74 70 75 74 |d `*cinf|o output|
|00000be0| 2a 27 2e 22 0a 20 20 28 | 69 6e 74 65 72 61 63 74 |*'.". (|interact|
|00000bf0| 69 76 65 20 22 50 22 29 | 0a 20 20 28 6c 65 74 2a |ive "P")|. (let*|
|00000c00| 20 28 28 64 65 66 61 75 | 6c 74 2d 73 79 6d 62 6f | ((defau|lt-symbo|
|00000c10| 6c 20 28 63 69 6e 66 6f | 2d 67 65 74 2d 77 6f 72 |l (cinfo|-get-wor|
|00000c20| 64 29 29 0a 09 20 28 73 | 79 6d 62 6f 6c 0a 09 20 |d)).. (s|ymbol.. |
|00000c30| 20 28 72 65 61 64 2d 73 | 74 72 69 6e 67 20 28 66 | (read-s|tring (f|
|00000c40| 6f 72 6d 61 74 20 22 53 | 79 6d 62 6f 6c 3a 20 25 |ormat "S|ymbol: %|
|00000c50| 73 22 0a 09 09 09 20 20 | 20 20 20 20 20 28 69 66 |s".... | (if|
|00000c60| 20 28 73 74 72 69 6e 67 | 3d 20 64 65 66 61 75 6c | (string|= defaul|
|00000c70| 74 2d 73 79 6d 62 6f 6c | 20 22 22 29 20 22 22 0a |t-symbol| "") "".|
|00000c80| 09 09 09 09 20 28 66 6f | 72 6d 61 74 20 22 28 64 |.... (fo|rmat "(d|
|00000c90| 65 66 61 75 6c 74 3a 20 | 25 73 29 20 22 0a 09 09 |efault: |%s) "...|
|00000ca0| 09 09 09 20 64 65 66 61 | 75 6c 74 2d 73 79 6d 62 |... defa|ult-symb|
|00000cb0| 6f 6c 29 29 29 29 29 29 | 0a 20 20 20 20 28 61 6e |ol))))))|. (an|
|00000cc0| 64 20 28 73 74 72 69 6e | 67 3d 20 73 79 6d 62 6f |d (strin|g= symbo|
|00000cd0| 6c 20 22 22 29 0a 09 20 | 28 69 66 20 28 73 74 72 |l "").. |(if (str|
|00000ce0| 69 6e 67 3d 20 64 65 66 | 61 75 6c 74 2d 73 79 6d |ing= def|ault-sym|
|00000cf0| 62 6f 6c 20 22 22 29 0a | 09 20 20 20 20 20 28 65 |bol "").|. (e|
|00000d00| 72 72 6f 72 20 22 5b 6e | 6f 20 73 79 6d 62 6f 6c |rror "[n|o symbol|
|00000d10| 20 67 69 76 65 6e 5d 22 | 29 0a 09 20 20 20 28 73 | given]"|).. (s|
|00000d20| 65 74 71 20 73 79 6d 62 | 6f 6c 20 64 65 66 61 75 |etq symb|ol defau|
|00000d30| 6c 74 2d 73 79 6d 62 6f | 6c 29 29 29 0a 20 20 20 |lt-symbo|l))). |
|00000d40| 20 28 63 69 6e 66 6f 2d | 6d 61 6b 65 2d 64 6f 63 | (cinfo-|make-doc|
|00000d50| 75 6d 65 6e 74 61 74 69 | 6f 6e 2d 62 75 66 66 65 |umentati|on-buffe|
|00000d60| 72 20 73 79 6d 62 6f 6c | 29 29 29 0a 0a 28 67 6c |r symbol|)))..(gl|
|00000d70| 6f 62 61 6c 2d 73 65 74 | 2d 6b 65 79 20 63 69 6e |obal-set|-key cin|
|00000d80| 66 6f 2d 62 69 6e 64 65 | 64 2d 6b 65 79 20 27 63 |fo-binde|d-key 'c|
|00000d90| 69 6e 66 6f 2d 64 6f 63 | 75 6d 65 6e 74 2d 73 79 |info-doc|ument-sy|
|00000da0| 6d 62 6f 6c 29 0a 0a 28 | 70 72 6f 76 69 64 65 20 |mbol)..(|provide |
|00000db0| 27 63 69 6e 66 6f 29 0a | 0a 28 6d 65 73 73 61 67 |'cinfo).|.(messag|
|00000dc0| 65 20 6e 69 6c 29 0a 0a | 3b 3b 3b 20 63 69 6e 66 |e nil)..|;;; cinf|
|00000dd0| 6f 2e 65 6c 20 65 6e 64 | 73 20 68 65 72 65 0a 00 |o.el end|s here..|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 65 74 63 2f 63 |cutils-1|.0/etc/c|
|00000e10| 69 6e 66 6f 64 62 2d 6d | 61 67 69 63 00 00 00 00 |infodb-m|agic....|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00000e70| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00000e80| 20 20 20 20 31 37 35 20 | 20 36 31 36 32 32 36 36 | 175 | 6162266|
|00000e90| 32 37 35 20 20 31 34 37 | 32 34 00 20 30 00 00 00 |275 147|24. 0...|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 23 09 24 49 64 3a 20 63 | 69 6e 66 6f 64 62 2d 6d |#.$Id: c|infodb-m|
|00001010| 61 67 69 63 2c 76 20 31 | 2e 31 20 31 39 39 36 2f |agic,v 1|.1 1996/|
|00001020| 30 36 2f 32 30 20 31 35 | 3a 32 32 3a 33 37 20 73 |06/20 15|:22:37 s|
|00001030| 61 6e 64 72 6f 20 45 78 | 70 20 24 0a 0a 30 09 73 |andro Ex|p $..0.s|
|00001040| 74 72 69 6e 67 09 09 5c | 31 37 37 43 49 4e 46 4f |tring..\|177CINFO|
|00001050| 09 63 69 6e 66 6f 20 64 | 61 74 61 62 61 73 65 0a |.cinfo d|atabase.|
|00001060| 3e 36 09 73 74 72 69 6e | 67 09 09 5c 31 5c 30 09 |>6.strin|g..\1\0.|
|00001070| 09 76 65 72 73 69 6f 6e | 20 31 2e 30 0a 00 00 00 |.version| 1.0....|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 00 |cutils-1|.0/lib/.|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 36 |.... 407|55 . 6|
|00001270| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00001280| 20 20 20 20 20 20 30 20 | 20 36 31 36 35 32 36 31 | 0 | 6165261|
|00001290| 36 32 37 20 20 31 32 32 | 33 31 00 20 35 00 00 00 |627 122|31. 5...|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 4d |cutils-1|.0/lib/M|
|00001410| 61 6b 65 66 69 6c 65 00 | 00 00 00 00 00 00 00 00 |akefile.|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00001470| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00001480| 20 20 20 20 32 36 34 20 | 20 36 31 36 35 32 35 35 | 264 | 6165255|
|00001490| 37 30 37 20 20 31 33 37 | 35 32 00 20 30 00 00 00 |707 137|52. 0...|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 23 09 24 49 64 3a 20 4d | 61 6b 65 66 69 6c 65 2c |#.$Id: M|akefile,|
|00001610| 76 20 31 2e 31 32 20 31 | 39 39 36 2f 30 36 2f 32 |v 1.12 1|996/06/2|
|00001620| 39 20 31 36 3a 33 37 3a | 32 37 20 73 61 6e 64 72 |9 16:37:|27 sandr|
|00001630| 6f 20 45 78 70 20 24 0a | 0a 4c 49 42 3d 09 63 75 |o Exp $.|.LIB=.cu|
|00001640| 74 69 6c 73 0a 53 52 43 | 53 3d 09 68 61 73 68 2e |tils.SRC|S=.hash.|
|00001650| 63 20 76 65 72 73 69 6f | 6e 2e 63 20 70 61 74 74 |c versio|n.c patt|
|00001660| 65 72 6e 2e 63 0a 0a 43 | 46 4c 41 47 53 2b 3d 2d |ern.c..C|FLAGS+=-|
|00001670| 49 2e 0a 0a 4e 4f 50 52 | 4f 46 49 4c 45 3d 79 65 |I...NOPR|OFILE=ye|
|00001680| 73 0a 23 49 4e 54 45 52 | 4e 41 4c 4c 49 42 3d 79 |s.#INTER|NALLIB=y|
|00001690| 65 73 0a 0a 69 6e 73 74 | 61 6c 6c 3a 0a 0a 2e 69 |es..inst|all:...i|
|000016a0| 6e 63 6c 75 64 65 20 3c | 62 73 64 2e 6c 69 62 2e |nclude <|bsd.lib.|
|000016b0| 6d 6b 3e 0a 00 00 00 00 | 00 00 00 00 00 00 00 00 |mk>.....|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 68 |cutils-1|.0/lib/h|
|00001810| 61 73 68 2e 63 00 00 00 | 00 00 00 00 00 00 00 00 |ash.c...|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00001870| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00001880| 20 20 31 35 33 31 36 20 | 20 36 31 36 34 37 33 31 | 15316 | 6164731|
|00001890| 36 37 36 20 20 31 33 34 | 35 30 00 20 30 00 00 00 |676 134|50. 0...|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00001a10| 28 63 29 20 31 39 39 35 | 2c 20 31 39 39 36 0a 20 |(c) 1995|, 1996. |
|00001a20| 2a 09 53 61 6e 64 72 6f | 20 53 69 67 61 6c 61 2c |*.Sandro| Sigala,|
|00001a30| 20 42 72 65 73 63 69 61 | 2c 20 49 74 61 6c 79 2e | Brescia|, Italy.|
|00001a40| 20 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 | All ri|ghts res|
|00001a50| 65 72 76 65 64 2e 0a 20 | 2a 0a 20 2a 20 52 65 64 |erved.. |*. * Red|
|00001a60| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 20 |istribut|ion and |
|00001a70| 75 73 65 20 69 6e 20 73 | 6f 75 72 63 65 20 61 6e |use in s|ource an|
|00001a80| 64 20 62 69 6e 61 72 79 | 20 66 6f 72 6d 73 2c 20 |d binary| forms, |
|00001a90| 77 69 74 68 20 6f 72 20 | 77 69 74 68 6f 75 74 0a |with or |without.|
|00001aa0| 20 2a 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 2c | * modif|ication,|
|00001ab0| 20 61 72 65 20 70 65 72 | 6d 69 74 74 65 64 20 70 | are per|mitted p|
|00001ac0| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|00001ad0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 64 69 | followi|ng condi|
|00001ae0| 74 69 6f 6e 73 0a 20 2a | 20 61 72 65 20 6d 65 74 |tions. *| are met|
|00001af0| 3a 0a 20 2a 20 31 2e 20 | 52 65 64 69 73 74 72 69 |:. * 1. |Redistri|
|00001b00| 62 75 74 69 6f 6e 73 20 | 6f 66 20 73 6f 75 72 63 |butions |of sourc|
|00001b10| 65 20 63 6f 64 65 20 6d | 75 73 74 20 72 65 74 61 |e code m|ust reta|
|00001b20| 69 6e 20 74 68 65 20 61 | 62 6f 76 65 20 63 6f 70 |in the a|bove cop|
|00001b30| 79 72 69 67 68 74 0a 20 | 2a 20 20 20 20 6e 6f 74 |yright. |* not|
|00001b40| 69 63 65 2c 20 74 68 69 | 73 20 6c 69 73 74 20 6f |ice, thi|s list o|
|00001b50| 66 20 63 6f 6e 64 69 74 | 69 6f 6e 73 20 61 6e 64 |f condit|ions and|
|00001b60| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 64 | the fol|lowing d|
|00001b70| 69 73 63 6c 61 69 6d 65 | 72 2e 0a 20 2a 20 32 2e |isclaime|r.. * 2.|
|00001b80| 20 52 65 64 69 73 74 72 | 69 62 75 74 69 6f 6e 73 | Redistr|ibutions|
|00001b90| 20 69 6e 20 62 69 6e 61 | 72 79 20 66 6f 72 6d 20 | in bina|ry form |
|00001ba0| 6d 75 73 74 20 72 65 70 | 72 6f 64 75 63 65 20 74 |must rep|roduce t|
|00001bb0| 68 65 20 61 62 6f 76 65 | 20 63 6f 70 79 72 69 67 |he above| copyrig|
|00001bc0| 68 74 0a 20 2a 20 20 20 | 20 6e 6f 74 69 63 65 2c |ht. * | notice,|
|00001bd0| 20 74 68 69 73 20 6c 69 | 73 74 20 6f 66 20 63 6f | this li|st of co|
|00001be0| 6e 64 69 74 69 6f 6e 73 | 20 61 6e 64 20 74 68 65 |nditions| and the|
|00001bf0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 64 69 73 63 6c | followi|ng discl|
|00001c00| 61 69 6d 65 72 20 69 6e | 20 74 68 65 0a 20 2a 20 |aimer in| the. * |
|00001c10| 20 20 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e | docum|entation|
|00001c20| 20 61 6e 64 2f 6f 72 20 | 6f 74 68 65 72 20 6d 61 | and/or |other ma|
|00001c30| 74 65 72 69 61 6c 73 20 | 70 72 6f 76 69 64 65 64 |terials |provided|
|00001c40| 20 77 69 74 68 20 74 68 | 65 20 64 69 73 74 72 69 | with th|e distri|
|00001c50| 62 75 74 69 6f 6e 2e 0a | 20 2a 20 33 2e 20 41 6c |bution..| * 3. Al|
|00001c60| 6c 20 61 64 76 65 72 74 | 69 73 69 6e 67 20 6d 61 |l advert|ising ma|
|00001c70| 74 65 72 69 61 6c 73 20 | 6d 65 6e 74 69 6f 6e 69 |terials |mentioni|
|00001c80| 6e 67 20 66 65 61 74 75 | 72 65 73 20 6f 72 20 75 |ng featu|res or u|
|00001c90| 73 65 20 6f 66 20 74 68 | 69 73 20 73 6f 66 74 77 |se of th|is softw|
|00001ca0| 61 72 65 0a 20 2a 20 20 | 20 20 6d 75 73 74 20 64 |are. * | must d|
|00001cb0| 69 73 70 6c 61 79 20 74 | 68 65 20 66 6f 6c 6c 6f |isplay t|he follo|
|00001cc0| 77 69 6e 67 20 61 63 6b | 6e 6f 77 6c 65 64 67 65 |wing ack|nowledge|
|00001cd0| 6d 65 6e 74 3a 0a 20 2a | 09 54 68 69 73 20 70 72 |ment:. *|.This pr|
|00001ce0| 6f 64 75 63 74 20 69 6e | 63 6c 75 64 65 73 20 73 |oduct in|cludes s|
|00001cf0| 6f 66 74 77 61 72 65 20 | 64 65 76 65 6c 6f 70 65 |oftware |develope|
|00001d00| 64 20 62 79 20 53 61 6e | 64 72 6f 20 53 69 67 61 |d by San|dro Siga|
|00001d10| 6c 61 2e 0a 20 2a 20 34 | 2e 20 4e 65 69 74 68 65 |la.. * 4|. Neithe|
|00001d20| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |r the na|me of th|
|00001d30| 65 20 61 75 74 68 6f 72 | 20 6e 6f 72 20 74 68 65 |e author| nor the|
|00001d40| 20 6e 61 6d 65 73 20 6f | 66 20 61 6e 79 20 63 6f | names o|f any co|
|00001d50| 2d 63 6f 6e 74 72 69 62 | 75 74 6f 72 73 0a 20 2a |-contrib|utors. *|
|00001d60| 20 20 20 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 | may |be used |
|00001d70| 74 6f 20 65 6e 64 6f 72 | 73 65 20 6f 72 20 70 72 |to endor|se or pr|
|00001d80| 6f 6d 6f 74 65 20 70 72 | 6f 64 75 63 74 73 20 64 |omote pr|oducts d|
|00001d90| 65 72 69 76 65 64 20 66 | 72 6f 6d 20 74 68 69 73 |erived f|rom this|
|00001da0| 20 73 6f 66 74 77 61 72 | 65 0a 20 2a 20 20 20 20 | softwar|e. * |
|00001db0| 77 69 74 68 6f 75 74 20 | 73 70 65 63 69 66 69 63 |without |specific|
|00001dc0| 20 70 72 69 6f 72 20 77 | 72 69 74 74 65 6e 20 70 | prior w|ritten p|
|00001dd0| 65 72 6d 69 73 73 69 6f | 6e 2e 0a 20 2a 0a 20 2a |ermissio|n.. *. *|
|00001de0| 20 54 48 49 53 20 53 4f | 46 54 57 41 52 45 20 49 | THIS SO|FTWARE I|
|00001df0| 53 20 50 52 4f 56 49 44 | 45 44 20 42 59 20 54 48 |S PROVID|ED BY TH|
|00001e00| 45 20 41 55 54 48 4f 52 | 20 41 4e 44 20 43 4f 4e |E AUTHOR| AND CON|
|00001e10| 54 52 49 42 55 54 4f 52 | 53 20 60 60 41 53 20 49 |TRIBUTOR|S ``AS I|
|00001e20| 53 27 27 20 41 4e 44 0a | 20 2a 20 41 4e 59 20 45 |S'' AND.| * ANY E|
|00001e30| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00001e40| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00001e50| 43 4c 55 44 49 4e 47 2c | 20 42 55 54 20 4e 4f 54 |CLUDING,| BUT NOT|
|00001e60| 20 4c 49 4d 49 54 45 44 | 20 54 4f 2c 20 54 48 45 | LIMITED| TO, THE|
|00001e70| 0a 20 2a 20 49 4d 50 4c | 49 45 44 20 57 41 52 52 |. * IMPL|IED WARR|
|00001e80| 41 4e 54 49 45 53 20 4f | 46 20 4d 45 52 43 48 41 |ANTIES O|F MERCHA|
|00001e90| 4e 54 41 42 49 4c 49 54 | 59 20 41 4e 44 20 46 49 |NTABILIT|Y AND FI|
|00001ea0| 54 4e 45 53 53 20 46 4f | 52 20 41 20 50 41 52 54 |TNESS FO|R A PART|
|00001eb0| 49 43 55 4c 41 52 20 50 | 55 52 50 4f 53 45 0a 20 |ICULAR P|URPOSE. |
|00001ec0| 2a 20 41 52 45 20 44 49 | 53 43 4c 41 49 4d 45 44 |* ARE DI|SCLAIMED|
|00001ed0| 2e 20 20 49 4e 20 4e 4f | 20 45 56 45 4e 54 20 53 |. IN NO| EVENT S|
|00001ee0| 48 41 4c 4c 20 54 48 45 | 20 41 55 54 48 4f 52 20 |HALL THE| AUTHOR |
|00001ef0| 4f 52 20 43 4f 4e 54 52 | 49 42 55 54 4f 52 53 20 |OR CONTR|IBUTORS |
|00001f00| 42 45 20 4c 49 41 42 4c | 45 0a 20 2a 20 46 4f 52 |BE LIABL|E. * FOR|
|00001f10| 20 41 4e 59 20 44 49 52 | 45 43 54 2c 20 49 4e 44 | ANY DIR|ECT, IND|
|00001f20| 49 52 45 43 54 2c 20 49 | 4e 43 49 44 45 4e 54 41 |IRECT, I|NCIDENTA|
|00001f30| 4c 2c 20 53 50 45 43 49 | 41 4c 2c 20 45 58 45 4d |L, SPECI|AL, EXEM|
|00001f40| 50 4c 41 52 59 2c 20 4f | 52 20 43 4f 4e 53 45 51 |PLARY, O|R CONSEQ|
|00001f50| 55 45 4e 54 49 41 4c 0a | 20 2a 20 44 41 4d 41 47 |UENTIAL.| * DAMAG|
|00001f60| 45 53 20 28 49 4e 43 4c | 55 44 49 4e 47 2c 20 42 |ES (INCL|UDING, B|
|00001f70| 55 54 20 4e 4f 54 20 4c | 49 4d 49 54 45 44 20 54 |UT NOT L|IMITED T|
|00001f80| 4f 2c 20 50 52 4f 43 55 | 52 45 4d 45 4e 54 20 4f |O, PROCU|REMENT O|
|00001f90| 46 20 53 55 42 53 54 49 | 54 55 54 45 20 47 4f 4f |F SUBSTI|TUTE GOO|
|00001fa0| 44 53 0a 20 2a 20 4f 52 | 20 53 45 52 56 49 43 45 |DS. * OR| SERVICE|
|00001fb0| 53 3b 20 4c 4f 53 53 20 | 4f 46 20 55 53 45 2c 20 |S; LOSS |OF USE, |
|00001fc0| 44 41 54 41 2c 20 4f 52 | 20 50 52 4f 46 49 54 53 |DATA, OR| PROFITS|
|00001fd0| 3b 20 4f 52 20 42 55 53 | 49 4e 45 53 53 20 49 4e |; OR BUS|INESS IN|
|00001fe0| 54 45 52 52 55 50 54 49 | 4f 4e 29 0a 20 2a 20 48 |TERRUPTI|ON). * H|
|00001ff0| 4f 57 45 56 45 52 20 43 | 41 55 53 45 44 20 41 4e |OWEVER C|AUSED AN|
|00002000| 44 20 4f 4e 20 41 4e 59 | 20 54 48 45 4f 52 59 20 |D ON ANY| THEORY |
|00002010| 4f 46 20 4c 49 41 42 49 | 4c 49 54 59 2c 20 57 48 |OF LIABI|LITY, WH|
|00002020| 45 54 48 45 52 20 49 4e | 20 43 4f 4e 54 52 41 43 |ETHER IN| CONTRAC|
|00002030| 54 2c 20 53 54 52 49 43 | 54 0a 20 2a 20 4c 49 41 |T, STRIC|T. * LIA|
|00002040| 42 49 4c 49 54 59 2c 20 | 4f 52 20 54 4f 52 54 20 |BILITY, |OR TORT |
|00002050| 28 49 4e 43 4c 55 44 49 | 4e 47 20 4e 45 47 4c 49 |(INCLUDI|NG NEGLI|
|00002060| 47 45 4e 43 45 20 4f 52 | 20 4f 54 48 45 52 57 49 |GENCE OR| OTHERWI|
|00002070| 53 45 29 20 41 52 49 53 | 49 4e 47 20 49 4e 20 41 |SE) ARIS|ING IN A|
|00002080| 4e 59 20 57 41 59 0a 20 | 2a 20 4f 55 54 20 4f 46 |NY WAY. |* OUT OF|
|00002090| 20 54 48 45 20 55 53 45 | 20 4f 46 20 54 48 49 53 | THE USE| OF THIS|
|000020a0| 20 53 4f 46 54 57 41 52 | 45 2c 20 45 56 45 4e 20 | SOFTWAR|E, EVEN |
|000020b0| 49 46 20 41 44 56 49 53 | 45 44 20 4f 46 20 54 48 |IF ADVIS|ED OF TH|
|000020c0| 45 20 50 4f 53 53 49 42 | 49 4c 49 54 59 20 4f 46 |E POSSIB|ILITY OF|
|000020d0| 0a 20 2a 20 53 55 43 48 | 20 44 41 4d 41 47 45 2e |. * SUCH| DAMAGE.|
|000020e0| 0a 20 2a 0a 20 2a 20 24 | 49 64 3a 20 68 61 73 68 |. *. * $|Id: hash|
|000020f0| 2e 63 2c 76 20 31 2e 35 | 20 31 39 39 36 2f 30 36 |.c,v 1.5| 1996/06|
|00002100| 2f 32 38 20 31 30 3a 32 | 38 3a 31 34 20 73 61 6e |/28 10:2|8:14 san|
|00002110| 64 72 6f 20 45 78 70 20 | 24 0a 20 2a 2f 0a 0a 23 |dro Exp |$. */..#|
|00002120| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 69 6f 2e 68 |include |<stdio.h|
|00002130| 3e 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 64 6c |>.#inclu|de <stdl|
|00002140| 69 62 2e 68 3e 0a 23 69 | 6e 63 6c 75 64 65 20 3c |ib.h>.#i|nclude <|
|00002150| 73 74 72 69 6e 67 2e 68 | 3e 0a 23 69 6e 63 6c 75 |string.h|>.#inclu|
|00002160| 64 65 20 3c 65 72 72 2e | 68 3e 0a 0a 23 69 6e 63 |de <err.|h>..#inc|
|00002170| 6c 75 64 65 20 22 68 61 | 73 68 2e 68 22 0a 0a 2f |lude "ha|sh.h"../|
|00002180| 2a 0a 20 2a 20 48 61 73 | 68 69 6e 67 20 66 75 6e |*. * Has|hing fun|
|00002190| 63 74 69 6f 6e 2e 0a 20 | 2a 2f 0a 73 74 61 74 69 |ction.. |*/.stati|
|000021a0| 63 20 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 0a |c unsign|ed long.|
|000021b0| 68 61 73 68 5f 74 61 62 | 6c 65 5f 68 61 73 68 28 |hash_tab|le_hash(|
|000021c0| 63 6f 6e 73 74 20 76 6f | 69 64 20 2a 64 61 74 61 |const vo|id *data|
|000021d0| 2c 20 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |, unsign|ed long |
|000021e0| 73 69 7a 65 2c 20 75 6e | 73 69 67 6e 65 64 20 6c |size, un|signed l|
|000021f0| 6f 6e 67 20 74 61 62 6c | 65 5f 73 69 7a 65 29 0a |ong tabl|e_size).|
|00002200| 7b 0a 09 63 6f 6e 73 74 | 20 75 6e 73 69 67 6e 65 |{..const| unsigne|
|00002210| 64 20 63 68 61 72 20 2a | 70 20 3d 20 28 63 6f 6e |d char *|p = (con|
|00002220| 73 74 20 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |st unsig|ned char|
|00002230| 20 2a 29 64 61 74 61 3b | 0a 09 75 6e 73 69 67 6e | *)data;|..unsign|
|00002240| 65 64 20 6c 6f 6e 67 20 | 68 61 73 68 20 3d 20 30 |ed long |hash = 0|
|00002250| 2c 20 67 3b 0a 0a 09 77 | 68 69 6c 65 20 28 2a 70 |, g;...w|hile (*p|
|00002260| 29 20 7b 0a 09 09 68 61 | 73 68 20 3d 20 28 68 61 |) {...ha|sh = (ha|
|00002270| 73 68 20 3c 3c 20 34 29 | 20 2b 20 2a 70 2b 2b 3b |sh << 4)| + *p++;|
|00002280| 0a 09 09 69 66 20 28 67 | 20 3d 20 68 61 73 68 20 |...if (g| = hash |
|00002290| 26 20 30 78 46 30 30 30 | 30 30 30 30 29 0a 09 09 |& 0xF000|0000)...|
|000022a0| 09 68 61 73 68 20 5e 3d | 20 67 20 3e 3e 20 32 34 |.hash ^=| g >> 24|
|000022b0| 3b 0a 09 09 68 61 73 68 | 20 26 3d 20 7e 67 3b 0a |;...hash| &= ~g;.|
|000022c0| 09 7d 0a 0a 09 72 65 74 | 75 72 6e 20 28 68 61 73 |.}...ret|urn (has|
|000022d0| 68 20 25 20 74 61 62 6c | 65 5f 73 69 7a 65 29 3b |h % tabl|e_size);|
|000022e0| 0a 7d 0a 0a 73 74 61 74 | 69 63 20 73 74 72 75 63 |.}..stat|ic struc|
|000022f0| 74 20 68 61 73 68 5f 74 | 61 62 6c 65 5f 62 75 63 |t hash_t|able_buc|
|00002300| 6b 65 74 20 2a 0a 62 75 | 69 6c 64 5f 62 75 63 6b |ket *.bu|ild_buck|
|00002310| 65 74 28 63 6f 6e 73 74 | 20 76 6f 69 64 20 2a 6b |et(const| void *k|
|00002320| 65 79 2c 20 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |ey, unsi|gned lon|
|00002330| 67 20 73 69 7a 65 29 0a | 7b 0a 09 73 74 72 75 63 |g size).|{..struc|
|00002340| 74 20 68 61 73 68 5f 74 | 61 62 6c 65 5f 62 75 63 |t hash_t|able_buc|
|00002350| 6b 65 74 20 2a 70 74 72 | 3b 0a 0a 09 69 66 20 28 |ket *ptr|;...if (|
|00002360| 28 70 74 72 20 3d 20 28 | 73 74 72 75 63 74 20 68 |(ptr = (|struct h|
|00002370| 61 73 68 5f 74 61 62 6c | 65 5f 62 75 63 6b 65 74 |ash_tabl|e_bucket|
|00002380| 20 2a 29 6d 61 6c 6c 6f | 63 28 73 69 7a 65 6f 66 | *)mallo|c(sizeof|
|00002390| 28 73 74 72 75 63 74 20 | 68 61 73 68 5f 74 61 62 |(struct |hash_tab|
|000023a0| 6c 65 5f 62 75 63 6b 65 | 74 29 29 29 20 3d 3d 20 |le_bucke|t))) == |
|000023b0| 4e 55 4c 4c 29 0a 09 09 | 65 72 72 28 31 2c 20 4e |NULL)...|err(1, N|
|000023c0| 55 4c 4c 29 3b 0a 0a 09 | 69 66 20 28 28 70 74 72 |ULL);...|if ((ptr|
|000023d0| 2d 3e 6b 65 79 20 3d 20 | 6d 61 6c 6c 6f 63 28 73 |->key = |malloc(s|
|000023e0| 69 7a 65 29 29 20 3d 3d | 20 4e 55 4c 4c 29 0a 09 |ize)) ==| NULL)..|
|000023f0| 09 65 72 72 28 31 2c 20 | 4e 55 4c 4c 29 3b 0a 0a |.err(1, |NULL);..|
|00002400| 09 6d 65 6d 63 70 79 28 | 70 74 72 2d 3e 6b 65 79 |.memcpy(|ptr->key|
|00002410| 2c 20 6b 65 79 2c 20 73 | 69 7a 65 29 3b 0a 0a 09 |, key, s|ize);...|
|00002420| 70 74 72 2d 3e 6b 73 69 | 7a 65 20 3d 20 73 69 7a |ptr->ksi|ze = siz|
|00002430| 65 3b 0a 09 70 74 72 2d | 3e 64 73 69 7a 65 20 3d |e;..ptr-|>dsize =|
|00002440| 20 30 3b 0a 09 70 74 72 | 2d 3e 64 61 74 61 20 3d | 0;..ptr|->data =|
|00002450| 20 4e 55 4c 4c 3b 0a 09 | 70 74 72 2d 3e 6e 65 78 | NULL;..|ptr->nex|
|00002460| 74 20 3d 20 4e 55 4c 4c | 3b 0a 09 70 74 72 2d 3e |t = NULL|;..ptr->|
|00002470| 70 72 65 76 20 3d 20 4e | 55 4c 4c 3b 0a 0a 09 72 |prev = N|ULL;...r|
|00002480| 65 74 75 72 6e 20 70 74 | 72 3b 0a 7d 0a 0a 73 74 |eturn pt|r;.}..st|
|00002490| 61 74 69 63 20 76 6f 69 | 64 0a 66 72 65 65 5f 62 |atic voi|d.free_b|
|000024a0| 75 63 6b 65 74 28 73 74 | 72 75 63 74 20 68 61 73 |ucket(st|ruct has|
|000024b0| 68 5f 74 61 62 6c 65 5f | 62 75 63 6b 65 74 20 2a |h_table_|bucket *|
|000024c0| 70 74 72 29 0a 7b 0a 09 | 69 66 20 28 70 74 72 2d |ptr).{..|if (ptr-|
|000024d0| 3e 6b 65 79 20 21 3d 20 | 4e 55 4c 4c 29 0a 09 09 |>key != |NULL)...|
|000024e0| 66 72 65 65 28 70 74 72 | 2d 3e 6b 65 79 29 3b 0a |free(ptr|->key);.|
|000024f0| 09 69 66 20 28 70 74 72 | 2d 3e 64 61 74 61 20 21 |.if (ptr|->data !|
|00002500| 3d 20 4e 55 4c 4c 29 0a | 09 09 66 72 65 65 28 70 |= NULL).|..free(p|
|00002510| 74 72 2d 3e 64 61 74 61 | 29 3b 0a 0a 09 66 72 65 |tr->data|);...fre|
|00002520| 65 28 70 74 72 29 3b 0a | 7d 0a 0a 73 74 72 75 63 |e(ptr);.|}..struc|
|00002530| 74 20 68 61 73 68 5f 74 | 61 62 6c 65 20 2a 0a 68 |t hash_t|able *.h|
|00002540| 61 73 68 5f 74 61 62 6c | 65 5f 62 75 69 6c 64 28 |ash_tabl|e_build(|
|00002550| 75 6e 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 73 69 |unsigned| long si|
|00002560| 7a 65 29 0a 7b 0a 09 73 | 74 72 75 63 74 20 68 61 |ze).{..s|truct ha|
|00002570| 73 68 5f 74 61 62 6c 65 | 20 2a 70 74 72 3b 0a 09 |sh_table| *ptr;..|
|00002580| 69 6e 74 20 69 3b 0a 0a | 09 69 66 20 28 28 70 74 |int i;..|.if ((pt|
|00002590| 72 20 3d 20 28 73 74 72 | 75 63 74 20 68 61 73 68 |r = (str|uct hash|
|000025a0| 5f 74 61 62 6c 65 20 2a | 29 6d 61 6c 6c 6f 63 28 |_table *|)malloc(|
|000025b0| 73 69 7a 65 6f 66 28 73 | 74 72 75 63 74 20 68 61 |sizeof(s|truct ha|
|000025c0| 73 68 5f 74 61 62 6c 65 | 29 29 29 20 3d 3d 20 4e |sh_table|))) == N|
|000025d0| 55 4c 4c 29 0a 09 09 65 | 72 72 28 31 2c 20 4e 55 |ULL)...e|rr(1, NU|
|000025e0| 4c 4c 29 3b 0a 0a 09 70 | 74 72 2d 3e 74 61 62 6c |LL);...p|tr->tabl|
|000025f0| 65 5f 73 69 7a 65 20 3d | 20 73 69 7a 65 3b 0a 0a |e_size =| size;..|
|00002600| 09 69 66 20 28 28 70 74 | 72 2d 3e 74 61 62 6c 65 |.if ((pt|r->table|
|00002610| 20 3d 20 28 73 74 72 75 | 63 74 20 68 61 73 68 5f | = (stru|ct hash_|
|00002620| 74 61 62 6c 65 5f 62 75 | 63 6b 65 74 20 2a 2a 29 |table_bu|cket **)|
|00002630| 6d 61 6c 6c 6f 63 28 70 | 74 72 2d 3e 74 61 62 6c |malloc(p|tr->tabl|
|00002640| 65 5f 73 69 7a 65 20 2a | 20 73 69 7a 65 6f 66 28 |e_size *| sizeof(|
|00002650| 73 74 72 75 63 74 20 68 | 61 73 68 5f 74 61 62 6c |struct h|ash_tabl|
|00002660| 65 5f 62 75 63 6b 65 74 | 20 2a 29 29 29 20 3d 3d |e_bucket| *))) ==|
|00002670| 20 4e 55 4c 4c 29 0a 09 | 09 65 72 72 28 31 2c 20 | NULL)..|.err(1, |
|00002680| 4e 55 4c 4c 29 3b 0a 0a | 09 70 74 72 2d 3e 68 61 |NULL);..|.ptr->ha|
|00002690| 73 68 69 6e 67 5f 66 75 | 6e 63 74 69 6f 6e 20 3d |shing_fu|nction =|
|000026a0| 20 68 61 73 68 5f 74 61 | 62 6c 65 5f 68 61 73 68 | hash_ta|ble_hash|
|000026b0| 3b 0a 0a 09 66 6f 72 20 | 28 69 20 3d 20 30 3b 20 |;...for |(i = 0; |
|000026c0| 69 20 3c 20 70 74 72 2d | 3e 74 61 62 6c 65 5f 73 |i < ptr-|>table_s|
|000026d0| 69 7a 65 3b 20 69 2b 2b | 29 0a 09 09 70 74 72 2d |ize; i++|)...ptr-|
|000026e0| 3e 74 61 62 6c 65 5b 69 | 5d 20 3d 20 4e 55 4c 4c |>table[i|] = NULL|
|000026f0| 3b 0a 0a 09 72 65 74 75 | 72 6e 20 70 74 72 3b 0a |;...retu|rn ptr;.|
|00002700| 7d 0a 0a 73 74 72 75 63 | 74 20 68 61 73 68 5f 74 |}..struc|t hash_t|
|00002710| 61 62 6c 65 20 2a 0a 68 | 61 73 68 5f 74 61 62 6c |able *.h|ash_tabl|
|00002720| 65 5f 62 75 69 6c 64 5f | 64 65 66 61 75 6c 74 28 |e_build_|default(|
|00002730| 76 6f 69 64 29 0a 7b 0a | 09 72 65 74 75 72 6e 20 |void).{.|.return |
|00002740| 68 61 73 68 5f 74 61 62 | 6c 65 5f 62 75 69 6c 64 |hash_tab|le_build|
|00002750| 28 48 41 53 48 5f 54 41 | 42 4c 45 5f 44 45 46 41 |(HASH_TA|BLE_DEFA|
|00002760| 55 4c 54 5f 53 49 5a 45 | 29 3b 0a 7d 0a 0a 76 6f |ULT_SIZE|);.}..vo|
|00002770| 69 64 0a 68 61 73 68 5f | 74 61 62 6c 65 5f 73 65 |id.hash_|table_se|
|00002780| 74 5f 68 61 73 68 69 6e | 67 5f 66 75 6e 63 74 69 |t_hashin|g_functi|
|00002790| 6f 6e 28 73 74 72 75 63 | 74 20 68 61 73 68 5f 74 |on(struc|t hash_t|
|000027a0| 61 62 6c 65 20 2a 74 61 | 62 6c 65 2c 20 68 61 73 |able *ta|ble, has|
|000027b0| 68 69 6e 67 5f 66 75 6e | 63 74 69 6f 6e 5f 74 20 |hing_fun|ction_t |
|000027c0| 66 75 6e 63 74 69 6f 6e | 29 0a 7b 0a 09 74 61 62 |function|).{..tab|
|000027d0| 6c 65 2d 3e 68 61 73 68 | 69 6e 67 5f 66 75 6e 63 |le->hash|ing_func|
|000027e0| 74 69 6f 6e 20 3d 20 66 | 75 6e 63 74 69 6f 6e 3b |tion = f|unction;|
|000027f0| 0a 7d 0a 0a 69 6e 74 0a | 68 61 73 68 5f 74 61 62 |.}..int.|hash_tab|
|00002800| 6c 65 5f 66 72 65 65 28 | 73 74 72 75 63 74 20 68 |le_free(|struct h|
|00002810| 61 73 68 5f 74 61 62 6c | 65 20 2a 74 61 62 6c 65 |ash_tabl|e *table|
|00002820| 29 0a 7b 0a 09 73 74 72 | 75 63 74 20 68 61 73 68 |).{..str|uct hash|
|00002830| 5f 74 61 62 6c 65 5f 62 | 75 63 6b 65 74 20 2a 62 |_table_b|ucket *b|
|00002840| 75 63 6b 65 74 2c 20 2a | 6e 65 78 74 3b 0a 09 69 |ucket, *|next;..i|
|00002850| 6e 74 20 69 3b 0a 0a 09 | 66 6f 72 20 28 69 20 3d |nt i;...|for (i =|
|00002860| 20 30 3b 20 69 20 3c 20 | 74 61 62 6c 65 2d 3e 74 | 0; i < |table->t|
|00002870| 61 62 6c 65 5f 73 69 7a | 65 3b 20 69 2b 2b 29 20 |able_siz|e; i++) |
|00002880| 7b 0a 09 09 62 75 63 6b | 65 74 20 3d 20 74 61 62 |{...buck|et = tab|
|00002890| 6c 65 2d 3e 74 61 62 6c | 65 5b 69 5d 3b 0a 09 09 |le->tabl|e[i];...|
|000028a0| 77 68 69 6c 65 20 28 62 | 75 63 6b 65 74 20 21 3d |while (b|ucket !=|
|000028b0| 20 4e 55 4c 4c 29 20 7b | 0a 09 09 09 6e 65 78 74 | NULL) {|....next|
|000028c0| 20 3d 20 62 75 63 6b 65 | 74 2d 3e 6e 65 78 74 3b | = bucke|t->next;|
|000028d0| 0a 09 09 09 66 72 65 65 | 5f 62 75 63 6b 65 74 28 |....free|_bucket(|
|000028e0| 62 75 63 6b 65 74 29 3b | 0a 09 09 09 62 75 63 6b |bucket);|....buck|
|000028f0| 65 74 20 3d 20 6e 65 78 | 74 3b 0a 09 09 7d 0a 09 |et = nex|t;...}..|
|00002900| 7d 0a 0a 09 66 72 65 65 | 28 74 61 62 6c 65 29 3b |}...free|(table);|
|00002910| 0a 0a 09 72 65 74 75 72 | 6e 20 30 3b 0a 7d 0a 0a |...retur|n 0;.}..|
|00002920| 69 6e 74 0a 68 61 73 68 | 5f 74 61 62 6c 65 5f 73 |int.hash|_table_s|
|00002930| 74 6f 72 65 5f 6b 65 79 | 28 73 74 72 75 63 74 20 |tore_key|(struct |
|00002940| 68 61 73 68 5f 74 61 62 | 6c 65 20 2a 74 61 62 6c |hash_tab|le *tabl|
|00002950| 65 2c 20 63 6f 6e 73 74 | 20 76 6f 69 64 20 2a 6b |e, const| void *k|
|00002960| 65 79 2c 20 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |ey, unsi|gned lon|
|00002970| 67 20 73 69 7a 65 29 0a | 7b 0a 09 73 74 72 75 63 |g size).|{..struc|
|00002980| 74 20 68 61 73 68 5f 74 | 61 62 6c 65 5f 62 75 63 |t hash_t|able_buc|
|00002990| 6b 65 74 20 2a 62 75 63 | 6b 65 74 3b 0a 09 75 6e |ket *buc|ket;..un|
|000029a0| 73 69 67 6e 65 64 20 6c | 6f 6e 67 20 68 61 73 68 |signed l|ong hash|
|000029b0| 3b 0a 0a 09 69 66 20 28 | 68 61 73 68 5f 74 61 62 |;...if (|hash_tab|
|000029c0| 6c 65 5f 65 78 69 73 74 | 73 28 74 61 62 6c 65 2c |le_exist|s(table,|
|000029d0| 20 6b 65 79 2c 20 73 69 | 7a 65 29 29 0a 09 09 72 | key, si|ze))...r|
|000029e0| 65 74 75 72 6e 20 2d 31 | 3b 0a 0a 09 68 61 73 68 |eturn -1|;...hash|
|000029f0| 20 3d 20 74 61 62 6c 65 | 2d 3e 68 61 73 68 69 6e | = table|->hashin|
|00002a00| 67 5f 66 75 6e 63 74 69 | 6f 6e 28 6b 65 79 2c 20 |g_functi|on(key, |
|00002a10| 73 69 7a 65 2c 20 74 61 | 62 6c 65 2d 3e 74 61 62 |size, ta|ble->tab|
|00002a20| 6c 65 5f 73 69 7a 65 29 | 3b 0a 0a 09 69 66 20 28 |le_size)|;...if (|
|00002a30| 74 61 62 6c 65 2d 3e 74 | 61 62 6c 65 5b 68 61 73 |table->t|able[has|
|00002a40| 68 5d 20 3d 3d 20 4e 55 | 4c 4c 29 0a 09 09 74 61 |h] == NU|LL)...ta|
|00002a50| 62 6c 65 2d 3e 74 61 62 | 6c 65 5b 68 61 73 68 5d |ble->tab|le[hash]|
|00002a60| 20 3d 20 62 75 69 6c 64 | 5f 62 75 63 6b 65 74 28 | = build|_bucket(|
|00002a70| 6b 65 79 2c 20 73 69 7a | 65 29 3b 0a 09 65 6c 73 |key, siz|e);..els|
|00002a80| 65 20 7b 0a 09 09 62 75 | 63 6b 65 74 20 3d 20 74 |e {...bu|cket = t|
|00002a90| 61 62 6c 65 2d 3e 74 61 | 62 6c 65 5b 68 61 73 68 |able->ta|ble[hash|
|00002aa0| 5d 3b 0a 0a 09 09 77 68 | 69 6c 65 20 28 62 75 63 |];....wh|ile (buc|
|00002ab0| 6b 65 74 2d 3e 6e 65 78 | 74 20 21 3d 20 4e 55 4c |ket->nex|t != NUL|
|00002ac0| 4c 29 0a 09 09 09 62 75 | 63 6b 65 74 20 3d 20 62 |L)....bu|cket = b|
|00002ad0| 75 63 6b 65 74 2d 3e 6e | 65 78 74 3b 0a 0a 09 09 |ucket->n|ext;....|
|00002ae0| 62 75 63 6b 65 74 2d 3e | 6e 65 78 74 20 3d 20 62 |bucket->|next = b|
|00002af0| 75 69 6c 64 5f 62 75 63 | 6b 65 74 28 6b 65 79 2c |uild_buc|ket(key,|
|00002b00| 20 73 69 7a 65 29 3b 0a | 09 09 62 75 63 6b 65 74 | size);.|..bucket|
|00002b10| 2d 3e 6e 65 78 74 2d 3e | 70 72 65 76 20 3d 20 62 |->next->|prev = b|
|00002b20| 75 63 6b 65 74 3b 0a 09 | 7d 0a 0a 09 72 65 74 75 |ucket;..|}...retu|
|00002b30| 72 6e 20 30 3b 0a 7d 0a | 0a 69 6e 74 0a 68 61 73 |rn 0;.}.|.int.has|
|00002b40| 68 5f 74 61 62 6c 65 5f | 65 78 69 73 74 73 28 73 |h_table_|exists(s|
|00002b50| 74 72 75 63 74 20 68 61 | 73 68 5f 74 61 62 6c 65 |truct ha|sh_table|
|00002b60| 20 2a 74 61 62 6c 65 2c | 20 63 6f 6e 73 74 20 76 | *table,| const v|
|00002b70| 6f 69 64 20 2a 6b 65 79 | 2c 20 75 6e 73 69 67 6e |oid *key|, unsign|
|00002b80| 65 64 20 6c 6f 6e 67 20 | 73 69 7a 65 29 0a 7b 0a |ed long |size).{.|
|00002b90| 09 73 74 72 75 63 74 20 | 68 61 73 68 5f 74 61 62 |.struct |hash_tab|
|00002ba0| 6c 65 5f 62 75 63 6b 65 | 74 20 2a 62 75 63 6b 65 |le_bucke|t *bucke|
|00002bb0| 74 3b 0a 09 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |t;..unsi|gned lon|
|00002bc0| 67 20 68 61 73 68 3b 0a | 0a 09 68 61 73 68 20 3d |g hash;.|..hash =|
|00002bd0| 20 74 61 62 6c 65 2d 3e | 68 61 73 68 69 6e 67 5f | table->|hashing_|
|00002be0| 66 75 6e 63 74 69 6f 6e | 28 6b 65 79 2c 20 73 69 |function|(key, si|
|00002bf0| 7a 65 2c 20 74 61 62 6c | 65 2d 3e 74 61 62 6c 65 |ze, tabl|e->table|
|00002c00| 5f 73 69 7a 65 29 3b 0a | 0a 09 66 6f 72 20 28 62 |_size);.|..for (b|
|00002c10| 75 63 6b 65 74 20 3d 20 | 74 61 62 6c 65 2d 3e 74 |ucket = |table->t|
|00002c20| 61 62 6c 65 5b 68 61 73 | 68 5d 3b 20 62 75 63 6b |able[has|h]; buck|
|00002c30| 65 74 20 21 3d 20 4e 55 | 4c 4c 3b 20 62 75 63 6b |et != NU|LL; buck|
|00002c40| 65 74 20 3d 20 62 75 63 | 6b 65 74 2d 3e 6e 65 78 |et = buc|ket->nex|
|00002c50| 74 29 0a 09 09 69 66 20 | 28 21 6d 65 6d 63 6d 70 |t)...if |(!memcmp|
|00002c60| 28 62 75 63 6b 65 74 2d | 3e 6b 65 79 2c 20 6b 65 |(bucket-|>key, ke|
|00002c70| 79 2c 20 73 69 7a 65 29 | 29 0a 09 09 09 72 65 74 |y, size)|)....ret|
|00002c80| 75 72 6e 20 31 3b 0a 0a | 09 72 65 74 75 72 6e 20 |urn 1;..|.return |
|00002c90| 30 3b 0a 7d 0a 0a 69 6e | 74 0a 68 61 73 68 5f 74 |0;.}..in|t.hash_t|
|00002ca0| 61 62 6c 65 5f 64 65 6c | 65 74 65 28 73 74 72 75 |able_del|ete(stru|
|00002cb0| 63 74 20 68 61 73 68 5f | 74 61 62 6c 65 20 2a 74 |ct hash_|table *t|
|00002cc0| 61 62 6c 65 2c 20 63 6f | 6e 73 74 20 76 6f 69 64 |able, co|nst void|
|00002cd0| 20 2a 6b 65 79 2c 20 75 | 6e 73 69 67 6e 65 64 20 | *key, u|nsigned |
|00002ce0| 6c 6f 6e 67 20 73 69 7a | 65 29 0a 7b 0a 09 73 74 |long siz|e).{..st|
|00002cf0| 72 75 63 74 20 68 61 73 | 68 5f 74 61 62 6c 65 5f |ruct has|h_table_|
|00002d00| 62 75 63 6b 65 74 20 2a | 62 75 63 6b 65 74 3b 0a |bucket *|bucket;.|
|00002d10| 09 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 68 |.unsigne|d long h|
|00002d20| 61 73 68 3b 0a 0a 09 68 | 61 73 68 20 3d 20 74 61 |ash;...h|ash = ta|
|00002d30| 62 6c 65 2d 3e 68 61 73 | 68 69 6e 67 5f 66 75 6e |ble->has|hing_fun|
|00002d40| 63 74 69 6f 6e 28 6b 65 | 79 2c 20 73 69 7a 65 2c |ction(ke|y, size,|
|00002d50| 20 74 61 62 6c 65 2d 3e | 74 61 62 6c 65 5f 73 69 | table->|table_si|
|00002d60| 7a 65 29 3b 0a 0a 09 66 | 6f 72 20 28 62 75 63 6b |ze);...f|or (buck|
|00002d70| 65 74 20 3d 20 74 61 62 | 6c 65 2d 3e 74 61 62 6c |et = tab|le->tabl|
|00002d80| 65 5b 68 61 73 68 5d 3b | 20 62 75 63 6b 65 74 20 |e[hash];| bucket |
|00002d90| 21 3d 20 4e 55 4c 4c 3b | 20 62 75 63 6b 65 74 20 |!= NULL;| bucket |
|00002da0| 3d 20 62 75 63 6b 65 74 | 2d 3e 6e 65 78 74 29 0a |= bucket|->next).|
|00002db0| 09 09 69 66 20 28 21 6d | 65 6d 63 6d 70 28 62 75 |..if (!m|emcmp(bu|
|00002dc0| 63 6b 65 74 2d 3e 6b 65 | 79 2c 20 6b 65 79 2c 20 |cket->ke|y, key, |
|00002dd0| 73 69 7a 65 29 29 20 7b | 0a 09 09 09 69 66 20 28 |size)) {|....if (|
|00002de0| 62 75 63 6b 65 74 20 3d | 3d 20 74 61 62 6c 65 2d |bucket =|= table-|
|00002df0| 3e 74 61 62 6c 65 5b 68 | 61 73 68 5d 29 0a 09 09 |>table[h|ash])...|
|00002e00| 09 09 74 61 62 6c 65 2d | 3e 74 61 62 6c 65 5b 68 |..table-|>table[h|
|00002e10| 61 73 68 5d 20 3d 20 62 | 75 63 6b 65 74 2d 3e 6e |ash] = b|ucket->n|
|00002e20| 65 78 74 3b 0a 09 09 09 | 65 6c 73 65 20 7b 0a 09 |ext;....|else {..|
|00002e30| 09 09 09 69 66 20 28 62 | 75 63 6b 65 74 2d 3e 70 |...if (b|ucket->p|
|00002e40| 72 65 76 20 21 3d 20 4e | 55 4c 4c 29 0a 09 09 09 |rev != N|ULL)....|
|00002e50| 09 09 62 75 63 6b 65 74 | 2d 3e 70 72 65 76 2d 3e |..bucket|->prev->|
|00002e60| 6e 65 78 74 20 3d 20 62 | 75 63 6b 65 74 2d 3e 6e |next = b|ucket->n|
|00002e70| 65 78 74 3b 0a 09 09 09 | 09 69 66 20 28 62 75 63 |ext;....|.if (buc|
|00002e80| 6b 65 74 2d 3e 6e 65 78 | 74 20 21 3d 20 4e 55 4c |ket->nex|t != NUL|
|00002e90| 4c 29 0a 09 09 09 09 09 | 62 75 63 6b 65 74 2d 3e |L)......|bucket->|
|00002ea0| 6e 65 78 74 2d 3e 70 72 | 65 76 20 3d 20 62 75 63 |next->pr|ev = buc|
|00002eb0| 6b 65 74 2d 3e 70 72 65 | 76 3b 0a 09 09 09 7d 0a |ket->pre|v;....}.|
|00002ec0| 09 09 09 66 72 65 65 5f | 62 75 63 6b 65 74 28 62 |...free_|bucket(b|
|00002ed0| 75 63 6b 65 74 29 3b 0a | 09 09 09 72 65 74 75 72 |ucket);.|...retur|
|00002ee0| 6e 20 30 3b 0a 09 09 7d | 0a 0a 09 72 65 74 75 72 |n 0;...}|...retur|
|00002ef0| 6e 20 2d 31 3b 0a 7d 0a | 0a 69 6e 74 0a 68 61 73 |n -1;.}.|.int.has|
|00002f00| 68 5f 74 61 62 6c 65 5f | 73 74 6f 72 65 5f 64 61 |h_table_|store_da|
|00002f10| 74 61 70 74 72 28 73 74 | 72 75 63 74 20 68 61 73 |taptr(st|ruct has|
|00002f20| 68 5f 74 61 62 6c 65 20 | 2a 74 61 62 6c 65 2c 20 |h_table |*table, |
|00002f30| 63 6f 6e 73 74 20 76 6f | 69 64 20 2a 6b 65 79 2c |const vo|id *key,|
|00002f40| 20 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 6b | unsigne|d long k|
|00002f50| 73 69 7a 65 2c 20 63 6f | 6e 73 74 20 76 6f 69 64 |size, co|nst void|
|00002f60| 20 2a 64 61 74 61 2c 20 | 75 6e 73 69 67 6e 65 64 | *data, |unsigned|
|00002f70| 20 6c 6f 6e 67 20 64 73 | 69 7a 65 29 0a 7b 0a 09 | long ds|ize).{..|
|00002f80| 73 74 72 75 63 74 20 68 | 61 73 68 5f 74 61 62 6c |struct h|ash_tabl|
|00002f90| 65 5f 62 75 63 6b 65 74 | 20 2a 62 75 63 6b 65 74 |e_bucket| *bucket|
|00002fa0| 3b 0a 09 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |;..unsig|ned long|
|00002fb0| 20 68 61 73 68 3b 0a 0a | 09 68 61 73 68 20 3d 20 | hash;..|.hash = |
|00002fc0| 74 61 62 6c 65 2d 3e 68 | 61 73 68 69 6e 67 5f 66 |table->h|ashing_f|
|00002fd0| 75 6e 63 74 69 6f 6e 28 | 6b 65 79 2c 20 6b 73 69 |unction(|key, ksi|
|00002fe0| 7a 65 2c 20 74 61 62 6c | 65 2d 3e 74 61 62 6c 65 |ze, tabl|e->table|
|00002ff0| 5f 73 69 7a 65 29 3b 0a | 0a 09 66 6f 72 20 28 62 |_size);.|..for (b|
|00003000| 75 63 6b 65 74 20 3d 20 | 74 61 62 6c 65 2d 3e 74 |ucket = |table->t|
|00003010| 61 62 6c 65 5b 68 61 73 | 68 5d 3b 20 62 75 63 6b |able[has|h]; buck|
|00003020| 65 74 20 21 3d 20 4e 55 | 4c 4c 3b 20 62 75 63 6b |et != NU|LL; buck|
|00003030| 65 74 20 3d 20 62 75 63 | 6b 65 74 2d 3e 6e 65 78 |et = buc|ket->nex|
|00003040| 74 29 0a 09 09 69 66 20 | 28 21 6d 65 6d 63 6d 70 |t)...if |(!memcmp|
|00003050| 28 62 75 63 6b 65 74 2d | 3e 6b 65 79 2c 20 6b 65 |(bucket-|>key, ke|
|00003060| 79 2c 20 6b 73 69 7a 65 | 29 29 20 7b 0a 09 09 09 |y, ksize|)) {....|
|00003070| 62 75 63 6b 65 74 2d 3e | 64 61 74 61 20 3d 20 28 |bucket->|data = (|
|00003080| 76 6f 69 64 20 2a 29 20 | 64 61 74 61 3b 0a 09 09 |void *) |data;...|
|00003090| 09 62 75 63 6b 65 74 2d | 3e 64 73 69 7a 65 20 3d |.bucket-|>dsize =|
|000030a0| 20 64 73 69 7a 65 3b 0a | 09 09 09 72 65 74 75 72 | dsize;.|...retur|
|000030b0| 6e 20 30 3b 0a 09 09 7d | 0a 0a 09 72 65 74 75 72 |n 0;...}|...retur|
|000030c0| 6e 20 2d 31 3b 0a 7d 0a | 0a 69 6e 74 0a 68 61 73 |n -1;.}.|.int.has|
|000030d0| 68 5f 74 61 62 6c 65 5f | 73 74 6f 72 65 5f 64 61 |h_table_|store_da|
|000030e0| 74 61 28 73 74 72 75 63 | 74 20 68 61 73 68 5f 74 |ta(struc|t hash_t|
|000030f0| 61 62 6c 65 20 2a 74 61 | 62 6c 65 2c 20 63 6f 6e |able *ta|ble, con|
|00003100| 73 74 20 76 6f 69 64 20 | 2a 6b 65 79 2c 20 75 6e |st void |*key, un|
|00003110| 73 69 67 6e 65 64 20 6c | 6f 6e 67 20 6b 73 69 7a |signed l|ong ksiz|
|00003120| 65 2c 20 63 6f 6e 73 74 | 20 76 6f 69 64 20 2a 64 |e, const| void *d|
|00003130| 61 74 61 2c 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |ata, uns|igned lo|
|00003140| 6e 67 20 64 73 69 7a 65 | 29 0a 7b 0a 09 76 6f 69 |ng dsize|).{..voi|
|00003150| 64 20 2a 70 20 3d 20 28 | 76 6f 69 64 20 2a 29 64 |d *p = (|void *)d|
|00003160| 61 74 61 3b 0a 0a 09 69 | 66 20 28 64 61 74 61 20 |ata;...i|f (data |
|00003170| 21 3d 20 4e 55 4c 4c 20 | 26 26 20 64 73 69 7a 65 |!= NULL |&& dsize|
|00003180| 20 3e 20 30 29 20 7b 0a | 09 09 69 66 20 28 28 70 | > 0) {.|..if ((p|
|00003190| 20 3d 20 6d 61 6c 6c 6f | 63 28 64 73 69 7a 65 29 | = mallo|c(dsize)|
|000031a0| 29 20 3d 3d 20 4e 55 4c | 4c 29 0a 09 09 09 65 72 |) == NUL|L)....er|
|000031b0| 72 28 31 2c 20 4e 55 4c | 4c 29 3b 0a 09 09 6d 65 |r(1, NUL|L);...me|
|000031c0| 6d 63 70 79 28 70 2c 20 | 64 61 74 61 2c 20 64 73 |mcpy(p, |data, ds|
|000031d0| 69 7a 65 29 3b 0a 09 7d | 0a 0a 09 72 65 74 75 72 |ize);..}|...retur|
|000031e0| 6e 20 28 68 61 73 68 5f | 74 61 62 6c 65 5f 73 74 |n (hash_|table_st|
|000031f0| 6f 72 65 5f 64 61 74 61 | 70 74 72 28 74 61 62 6c |ore_data|ptr(tabl|
|00003200| 65 2c 20 6b 65 79 2c 20 | 6b 73 69 7a 65 2c 20 70 |e, key, |ksize, p|
|00003210| 2c 20 64 73 69 7a 65 29 | 29 3b 0a 7d 0a 0a 69 6e |, dsize)|);.}..in|
|00003220| 74 0a 68 61 73 68 5f 74 | 61 62 6c 65 5f 73 74 6f |t.hash_t|able_sto|
|00003230| 72 65 28 73 74 72 75 63 | 74 20 68 61 73 68 5f 74 |re(struc|t hash_t|
|00003240| 61 62 6c 65 20 2a 74 61 | 62 6c 65 2c 20 63 6f 6e |able *ta|ble, con|
|00003250| 73 74 20 76 6f 69 64 20 | 2a 6b 65 79 2c 20 75 6e |st void |*key, un|
|00003260| 73 69 67 6e 65 64 20 6c | 6f 6e 67 20 6b 73 69 7a |signed l|ong ksiz|
|00003270| 65 2c 20 63 6f 6e 73 74 | 20 76 6f 69 64 20 2a 64 |e, const| void *d|
|00003280| 61 74 61 2c 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |ata, uns|igned lo|
|00003290| 6e 67 20 64 73 69 7a 65 | 29 0a 7b 0a 09 69 66 20 |ng dsize|).{..if |
|000032a0| 28 68 61 73 68 5f 74 61 | 62 6c 65 5f 65 78 69 73 |(hash_ta|ble_exis|
|000032b0| 74 73 28 74 61 62 6c 65 | 2c 20 6b 65 79 2c 20 6b |ts(table|, key, k|
|000032c0| 73 69 7a 65 29 29 0a 09 | 09 68 61 73 68 5f 74 61 |size))..|.hash_ta|
|000032d0| 62 6c 65 5f 64 65 6c 65 | 74 65 28 74 61 62 6c 65 |ble_dele|te(table|
|000032e0| 2c 20 6b 65 79 2c 20 6b | 73 69 7a 65 29 3b 0a 0a |, key, k|size);..|
|000032f0| 09 68 61 73 68 5f 74 61 | 62 6c 65 5f 73 74 6f 72 |.hash_ta|ble_stor|
|00003300| 65 5f 6b 65 79 28 74 61 | 62 6c 65 2c 20 6b 65 79 |e_key(ta|ble, key|
|00003310| 2c 20 6b 73 69 7a 65 29 | 3b 0a 0a 09 72 65 74 75 |, ksize)|;...retu|
|00003320| 72 6e 20 28 68 61 73 68 | 5f 74 61 62 6c 65 5f 73 |rn (hash|_table_s|
|00003330| 74 6f 72 65 5f 64 61 74 | 61 70 74 72 28 74 61 62 |tore_dat|aptr(tab|
|00003340| 6c 65 2c 20 6b 65 79 2c | 20 6b 73 69 7a 65 2c 20 |le, key,| ksize, |
|00003350| 64 61 74 61 2c 20 64 73 | 69 7a 65 29 29 3b 0a 7d |data, ds|ize));.}|
|00003360| 0a 0a 76 6f 69 64 20 2a | 0a 68 61 73 68 5f 74 61 |..void *|.hash_ta|
|00003370| 62 6c 65 5f 66 65 74 63 | 68 28 73 74 72 75 63 74 |ble_fetc|h(struct|
|00003380| 20 68 61 73 68 5f 74 61 | 62 6c 65 20 2a 74 61 62 | hash_ta|ble *tab|
|00003390| 6c 65 2c 20 63 6f 6e 73 | 74 20 76 6f 69 64 20 2a |le, cons|t void *|
|000033a0| 6b 65 79 2c 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |key, uns|igned lo|
|000033b0| 6e 67 20 73 69 7a 65 29 | 0a 7b 0a 09 73 74 72 75 |ng size)|.{..stru|
|000033c0| 63 74 20 68 61 73 68 5f | 74 61 62 6c 65 5f 62 75 |ct hash_|table_bu|
|000033d0| 63 6b 65 74 20 2a 62 75 | 63 6b 65 74 3b 0a 09 75 |cket *bu|cket;..u|
|000033e0| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 68 61 73 |nsigned |long has|
|000033f0| 68 3b 0a 0a 09 68 61 73 | 68 20 3d 20 74 61 62 6c |h;...has|h = tabl|
|00003400| 65 2d 3e 68 61 73 68 69 | 6e 67 5f 66 75 6e 63 74 |e->hashi|ng_funct|
|00003410| 69 6f 6e 28 6b 65 79 2c | 20 73 69 7a 65 2c 20 74 |ion(key,| size, t|
|00003420| 61 62 6c 65 2d 3e 74 61 | 62 6c 65 5f 73 69 7a 65 |able->ta|ble_size|
|00003430| 29 3b 0a 0a 09 66 6f 72 | 20 28 62 75 63 6b 65 74 |);...for| (bucket|
|00003440| 20 3d 20 74 61 62 6c 65 | 2d 3e 74 61 62 6c 65 5b | = table|->table[|
|00003450| 68 61 73 68 5d 3b 20 62 | 75 63 6b 65 74 20 21 3d |hash]; b|ucket !=|
|00003460| 20 4e 55 4c 4c 3b 20 62 | 75 63 6b 65 74 20 3d 20 | NULL; b|ucket = |
|00003470| 62 75 63 6b 65 74 2d 3e | 6e 65 78 74 29 0a 09 09 |bucket->|next)...|
|00003480| 69 66 20 28 21 6d 65 6d | 63 6d 70 28 62 75 63 6b |if (!mem|cmp(buck|
|00003490| 65 74 2d 3e 6b 65 79 2c | 20 6b 65 79 2c 20 73 69 |et->key,| key, si|
|000034a0| 7a 65 29 29 0a 09 09 09 | 72 65 74 75 72 6e 20 62 |ze))....|return b|
|000034b0| 75 63 6b 65 74 2d 3e 64 | 61 74 61 3b 0a 0a 09 72 |ucket->d|ata;...r|
|000034c0| 65 74 75 72 6e 20 4e 55 | 4c 4c 3b 0a 7d 0a 00 00 |eturn NU|LL;.}...|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 68 |cutils-1|.0/lib/h|
|00003610| 61 73 68 2e 68 00 00 00 | 00 00 00 00 00 00 00 00 |ash.h...|........|
|00003620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00003670| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00003680| 20 20 20 36 34 36 35 20 | 20 36 31 36 34 37 33 31 | 6465 | 6164731|
|00003690| 36 37 36 20 20 31 33 34 | 34 32 00 20 30 00 00 00 |676 134|42. 0...|
|000036a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00003810| 28 63 29 20 31 39 39 35 | 2c 20 31 39 39 36 0a 20 |(c) 1995|, 1996. |
|00003820| 2a 09 53 61 6e 64 72 6f | 20 53 69 67 61 6c 61 2c |*.Sandro| Sigala,|
|00003830| 20 42 72 65 73 63 69 61 | 2c 20 49 74 61 6c 79 2e | Brescia|, Italy.|
|00003840| 20 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 | All ri|ghts res|
|00003850| 65 72 76 65 64 2e 0a 20 | 2a 0a 20 2a 20 52 65 64 |erved.. |*. * Red|
|00003860| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 20 |istribut|ion and |
|00003870| 75 73 65 20 69 6e 20 73 | 6f 75 72 63 65 20 61 6e |use in s|ource an|
|00003880| 64 20 62 69 6e 61 72 79 | 20 66 6f 72 6d 73 2c 20 |d binary| forms, |
|00003890| 77 69 74 68 20 6f 72 20 | 77 69 74 68 6f 75 74 0a |with or |without.|
|000038a0| 20 2a 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 2c | * modif|ication,|
|000038b0| 20 61 72 65 20 70 65 72 | 6d 69 74 74 65 64 20 70 | are per|mitted p|
|000038c0| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|000038d0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 64 69 | followi|ng condi|
|000038e0| 74 69 6f 6e 73 0a 20 2a | 20 61 72 65 20 6d 65 74 |tions. *| are met|
|000038f0| 3a 0a 20 2a 20 31 2e 20 | 52 65 64 69 73 74 72 69 |:. * 1. |Redistri|
|00003900| 62 75 74 69 6f 6e 73 20 | 6f 66 20 73 6f 75 72 63 |butions |of sourc|
|00003910| 65 20 63 6f 64 65 20 6d | 75 73 74 20 72 65 74 61 |e code m|ust reta|
|00003920| 69 6e 20 74 68 65 20 61 | 62 6f 76 65 20 63 6f 70 |in the a|bove cop|
|00003930| 79 72 69 67 68 74 0a 20 | 2a 20 20 20 20 6e 6f 74 |yright. |* not|
|00003940| 69 63 65 2c 20 74 68 69 | 73 20 6c 69 73 74 20 6f |ice, thi|s list o|
|00003950| 66 20 63 6f 6e 64 69 74 | 69 6f 6e 73 20 61 6e 64 |f condit|ions and|
|00003960| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 64 | the fol|lowing d|
|00003970| 69 73 63 6c 61 69 6d 65 | 72 2e 0a 20 2a 20 32 2e |isclaime|r.. * 2.|
|00003980| 20 52 65 64 69 73 74 72 | 69 62 75 74 69 6f 6e 73 | Redistr|ibutions|
|00003990| 20 69 6e 20 62 69 6e 61 | 72 79 20 66 6f 72 6d 20 | in bina|ry form |
|000039a0| 6d 75 73 74 20 72 65 70 | 72 6f 64 75 63 65 20 74 |must rep|roduce t|
|000039b0| 68 65 20 61 62 6f 76 65 | 20 63 6f 70 79 72 69 67 |he above| copyrig|
|000039c0| 68 74 0a 20 2a 20 20 20 | 20 6e 6f 74 69 63 65 2c |ht. * | notice,|
|000039d0| 20 74 68 69 73 20 6c 69 | 73 74 20 6f 66 20 63 6f | this li|st of co|
|000039e0| 6e 64 69 74 69 6f 6e 73 | 20 61 6e 64 20 74 68 65 |nditions| and the|
|000039f0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 64 69 73 63 6c | followi|ng discl|
|00003a00| 61 69 6d 65 72 20 69 6e | 20 74 68 65 0a 20 2a 20 |aimer in| the. * |
|00003a10| 20 20 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e | docum|entation|
|00003a20| 20 61 6e 64 2f 6f 72 20 | 6f 74 68 65 72 20 6d 61 | and/or |other ma|
|00003a30| 74 65 72 69 61 6c 73 20 | 70 72 6f 76 69 64 65 64 |terials |provided|
|00003a40| 20 77 69 74 68 20 74 68 | 65 20 64 69 73 74 72 69 | with th|e distri|
|00003a50| 62 75 74 69 6f 6e 2e 0a | 20 2a 20 33 2e 20 41 6c |bution..| * 3. Al|
|00003a60| 6c 20 61 64 76 65 72 74 | 69 73 69 6e 67 20 6d 61 |l advert|ising ma|
|00003a70| 74 65 72 69 61 6c 73 20 | 6d 65 6e 74 69 6f 6e 69 |terials |mentioni|
|00003a80| 6e 67 20 66 65 61 74 75 | 72 65 73 20 6f 72 20 75 |ng featu|res or u|
|00003a90| 73 65 20 6f 66 20 74 68 | 69 73 20 73 6f 66 74 77 |se of th|is softw|
|00003aa0| 61 72 65 0a 20 2a 20 20 | 20 20 6d 75 73 74 20 64 |are. * | must d|
|00003ab0| 69 73 70 6c 61 79 20 74 | 68 65 20 66 6f 6c 6c 6f |isplay t|he follo|
|00003ac0| 77 69 6e 67 20 61 63 6b | 6e 6f 77 6c 65 64 67 65 |wing ack|nowledge|
|00003ad0| 6d 65 6e 74 3a 0a 20 2a | 09 54 68 69 73 20 70 72 |ment:. *|.This pr|
|00003ae0| 6f 64 75 63 74 20 69 6e | 63 6c 75 64 65 73 20 73 |oduct in|cludes s|
|00003af0| 6f 66 74 77 61 72 65 20 | 64 65 76 65 6c 6f 70 65 |oftware |develope|
|00003b00| 64 20 62 79 20 53 61 6e | 64 72 6f 20 53 69 67 61 |d by San|dro Siga|
|00003b10| 6c 61 2e 0a 20 2a 20 34 | 2e 20 4e 65 69 74 68 65 |la.. * 4|. Neithe|
|00003b20| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |r the na|me of th|
|00003b30| 65 20 61 75 74 68 6f 72 | 20 6e 6f 72 20 74 68 65 |e author| nor the|
|00003b40| 20 6e 61 6d 65 73 20 6f | 66 20 61 6e 79 20 63 6f | names o|f any co|
|00003b50| 2d 63 6f 6e 74 72 69 62 | 75 74 6f 72 73 0a 20 2a |-contrib|utors. *|
|00003b60| 20 20 20 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 | may |be used |
|00003b70| 74 6f 20 65 6e 64 6f 72 | 73 65 20 6f 72 20 70 72 |to endor|se or pr|
|00003b80| 6f 6d 6f 74 65 20 70 72 | 6f 64 75 63 74 73 20 64 |omote pr|oducts d|
|00003b90| 65 72 69 76 65 64 20 66 | 72 6f 6d 20 74 68 69 73 |erived f|rom this|
|00003ba0| 20 73 6f 66 74 77 61 72 | 65 0a 20 2a 20 20 20 20 | softwar|e. * |
|00003bb0| 77 69 74 68 6f 75 74 20 | 73 70 65 63 69 66 69 63 |without |specific|
|00003bc0| 20 70 72 69 6f 72 20 77 | 72 69 74 74 65 6e 20 70 | prior w|ritten p|
|00003bd0| 65 72 6d 69 73 73 69 6f | 6e 2e 0a 20 2a 0a 20 2a |ermissio|n.. *. *|
|00003be0| 20 54 48 49 53 20 53 4f | 46 54 57 41 52 45 20 49 | THIS SO|FTWARE I|
|00003bf0| 53 20 50 52 4f 56 49 44 | 45 44 20 42 59 20 54 48 |S PROVID|ED BY TH|
|00003c00| 45 20 41 55 54 48 4f 52 | 20 41 4e 44 20 43 4f 4e |E AUTHOR| AND CON|
|00003c10| 54 52 49 42 55 54 4f 52 | 53 20 60 60 41 53 20 49 |TRIBUTOR|S ``AS I|
|00003c20| 53 27 27 20 41 4e 44 0a | 20 2a 20 41 4e 59 20 45 |S'' AND.| * ANY E|
|00003c30| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00003c40| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00003c50| 43 4c 55 44 49 4e 47 2c | 20 42 55 54 20 4e 4f 54 |CLUDING,| BUT NOT|
|00003c60| 20 4c 49 4d 49 54 45 44 | 20 54 4f 2c 20 54 48 45 | LIMITED| TO, THE|
|00003c70| 0a 20 2a 20 49 4d 50 4c | 49 45 44 20 57 41 52 52 |. * IMPL|IED WARR|
|00003c80| 41 4e 54 49 45 53 20 4f | 46 20 4d 45 52 43 48 41 |ANTIES O|F MERCHA|
|00003c90| 4e 54 41 42 49 4c 49 54 | 59 20 41 4e 44 20 46 49 |NTABILIT|Y AND FI|
|00003ca0| 54 4e 45 53 53 20 46 4f | 52 20 41 20 50 41 52 54 |TNESS FO|R A PART|
|00003cb0| 49 43 55 4c 41 52 20 50 | 55 52 50 4f 53 45 0a 20 |ICULAR P|URPOSE. |
|00003cc0| 2a 20 41 52 45 20 44 49 | 53 43 4c 41 49 4d 45 44 |* ARE DI|SCLAIMED|
|00003cd0| 2e 20 20 49 4e 20 4e 4f | 20 45 56 45 4e 54 20 53 |. IN NO| EVENT S|
|00003ce0| 48 41 4c 4c 20 54 48 45 | 20 41 55 54 48 4f 52 20 |HALL THE| AUTHOR |
|00003cf0| 4f 52 20 43 4f 4e 54 52 | 49 42 55 54 4f 52 53 20 |OR CONTR|IBUTORS |
|00003d00| 42 45 20 4c 49 41 42 4c | 45 0a 20 2a 20 46 4f 52 |BE LIABL|E. * FOR|
|00003d10| 20 41 4e 59 20 44 49 52 | 45 43 54 2c 20 49 4e 44 | ANY DIR|ECT, IND|
|00003d20| 49 52 45 43 54 2c 20 49 | 4e 43 49 44 45 4e 54 41 |IRECT, I|NCIDENTA|
|00003d30| 4c 2c 20 53 50 45 43 49 | 41 4c 2c 20 45 58 45 4d |L, SPECI|AL, EXEM|
|00003d40| 50 4c 41 52 59 2c 20 4f | 52 20 43 4f 4e 53 45 51 |PLARY, O|R CONSEQ|
|00003d50| 55 45 4e 54 49 41 4c 0a | 20 2a 20 44 41 4d 41 47 |UENTIAL.| * DAMAG|
|00003d60| 45 53 20 28 49 4e 43 4c | 55 44 49 4e 47 2c 20 42 |ES (INCL|UDING, B|
|00003d70| 55 54 20 4e 4f 54 20 4c | 49 4d 49 54 45 44 20 54 |UT NOT L|IMITED T|
|00003d80| 4f 2c 20 50 52 4f 43 55 | 52 45 4d 45 4e 54 20 4f |O, PROCU|REMENT O|
|00003d90| 46 20 53 55 42 53 54 49 | 54 55 54 45 20 47 4f 4f |F SUBSTI|TUTE GOO|
|00003da0| 44 53 0a 20 2a 20 4f 52 | 20 53 45 52 56 49 43 45 |DS. * OR| SERVICE|
|00003db0| 53 3b 20 4c 4f 53 53 20 | 4f 46 20 55 53 45 2c 20 |S; LOSS |OF USE, |
|00003dc0| 44 41 54 41 2c 20 4f 52 | 20 50 52 4f 46 49 54 53 |DATA, OR| PROFITS|
|00003dd0| 3b 20 4f 52 20 42 55 53 | 49 4e 45 53 53 20 49 4e |; OR BUS|INESS IN|
|00003de0| 54 45 52 52 55 50 54 49 | 4f 4e 29 0a 20 2a 20 48 |TERRUPTI|ON). * H|
|00003df0| 4f 57 45 56 45 52 20 43 | 41 55 53 45 44 20 41 4e |OWEVER C|AUSED AN|
|00003e00| 44 20 4f 4e 20 41 4e 59 | 20 54 48 45 4f 52 59 20 |D ON ANY| THEORY |
|00003e10| 4f 46 20 4c 49 41 42 49 | 4c 49 54 59 2c 20 57 48 |OF LIABI|LITY, WH|
|00003e20| 45 54 48 45 52 20 49 4e | 20 43 4f 4e 54 52 41 43 |ETHER IN| CONTRAC|
|00003e30| 54 2c 20 53 54 52 49 43 | 54 0a 20 2a 20 4c 49 41 |T, STRIC|T. * LIA|
|00003e40| 42 49 4c 49 54 59 2c 20 | 4f 52 20 54 4f 52 54 20 |BILITY, |OR TORT |
|00003e50| 28 49 4e 43 4c 55 44 49 | 4e 47 20 4e 45 47 4c 49 |(INCLUDI|NG NEGLI|
|00003e60| 47 45 4e 43 45 20 4f 52 | 20 4f 54 48 45 52 57 49 |GENCE OR| OTHERWI|
|00003e70| 53 45 29 20 41 52 49 53 | 49 4e 47 20 49 4e 20 41 |SE) ARIS|ING IN A|
|00003e80| 4e 59 20 57 41 59 0a 20 | 2a 20 4f 55 54 20 4f 46 |NY WAY. |* OUT OF|
|00003e90| 20 54 48 45 20 55 53 45 | 20 4f 46 20 54 48 49 53 | THE USE| OF THIS|
|00003ea0| 20 53 4f 46 54 57 41 52 | 45 2c 20 45 56 45 4e 20 | SOFTWAR|E, EVEN |
|00003eb0| 49 46 20 41 44 56 49 53 | 45 44 20 4f 46 20 54 48 |IF ADVIS|ED OF TH|
|00003ec0| 45 20 50 4f 53 53 49 42 | 49 4c 49 54 59 20 4f 46 |E POSSIB|ILITY OF|
|00003ed0| 0a 20 2a 20 53 55 43 48 | 20 44 41 4d 41 47 45 2e |. * SUCH| DAMAGE.|
|00003ee0| 0a 20 2a 0a 20 2a 20 24 | 49 64 3a 20 68 61 73 68 |. *. * $|Id: hash|
|00003ef0| 2e 68 2c 76 20 31 2e 38 | 20 31 39 39 36 2f 30 36 |.h,v 1.8| 1996/06|
|00003f00| 2f 32 38 20 31 30 3a 32 | 38 3a 31 34 20 73 61 6e |/28 10:2|8:14 san|
|00003f10| 64 72 6f 20 45 78 70 20 | 24 0a 20 2a 2f 0a 0a 23 |dro Exp |$. */..#|
|00003f20| 69 66 6e 64 65 66 20 5f | 48 41 53 48 5f 48 5f 0a |ifndef _|HASH_H_.|
|00003f30| 23 64 65 66 69 6e 65 20 | 5f 48 41 53 48 5f 48 5f |#define |_HASH_H_|
|00003f40| 0a 0a 23 64 65 66 69 6e | 65 20 48 41 53 48 5f 54 |..#defin|e HASH_T|
|00003f50| 41 42 4c 45 5f 44 45 46 | 41 55 4c 54 5f 53 49 5a |ABLE_DEF|AULT_SIZ|
|00003f60| 45 09 09 31 32 37 0a 0a | 74 79 70 65 64 65 66 20 |E..127..|typedef |
|00003f70| 75 6e 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 28 2a |unsigned| long (*|
|00003f80| 68 61 73 68 69 6e 67 5f | 66 75 6e 63 74 69 6f 6e |hashing_|function|
|00003f90| 5f 74 29 28 63 6f 6e 73 | 74 20 76 6f 69 64 20 2a |_t)(cons|t void *|
|00003fa0| 64 61 74 61 2c 20 75 6e | 73 69 67 6e 65 64 20 6c |data, un|signed l|
|00003fb0| 6f 6e 67 20 73 69 7a 65 | 2c 20 75 6e 73 69 67 6e |ong size|, unsign|
|00003fc0| 65 64 20 6c 6f 6e 67 20 | 74 61 62 6c 65 5f 73 69 |ed long |table_si|
|00003fd0| 7a 65 29 3b 0a 0a 73 74 | 72 75 63 74 09 68 61 73 |ze);..st|ruct.has|
|00003fe0| 68 5f 74 61 62 6c 65 5f | 62 75 63 6b 65 74 20 7b |h_table_|bucket {|
|00003ff0| 0a 09 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |..unsign|ed long |
|00004000| 6b 73 69 7a 65 3b 0a 09 | 75 6e 73 69 67 6e 65 64 |ksize;..|unsigned|
|00004010| 20 6c 6f 6e 67 20 64 73 | 69 7a 65 3b 0a 09 76 6f | long ds|ize;..vo|
|00004020| 69 64 20 2a 6b 65 79 3b | 0a 09 76 6f 69 64 20 2a |id *key;|..void *|
|00004030| 64 61 74 61 3b 0a 09 73 | 74 72 75 63 74 20 68 61 |data;..s|truct ha|
|00004040| 73 68 5f 74 61 62 6c 65 | 5f 62 75 63 6b 65 74 20 |sh_table|_bucket |
|00004050| 2a 70 72 65 76 3b 0a 09 | 73 74 72 75 63 74 20 68 |*prev;..|struct h|
|00004060| 61 73 68 5f 74 61 62 6c | 65 5f 62 75 63 6b 65 74 |ash_tabl|e_bucket|
|00004070| 20 2a 6e 65 78 74 3b 0a | 7d 3b 0a 0a 73 74 72 75 | *next;.|};..stru|
|00004080| 63 74 09 68 61 73 68 5f | 74 61 62 6c 65 20 7b 0a |ct.hash_|table {.|
|00004090| 09 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 74 |.unsigne|d long t|
|000040a0| 61 62 6c 65 5f 73 69 7a | 65 3b 0a 09 73 74 72 75 |able_siz|e;..stru|
|000040b0| 63 74 20 68 61 73 68 5f | 74 61 62 6c 65 5f 62 75 |ct hash_|table_bu|
|000040c0| 63 6b 65 74 20 2a 2a 74 | 61 62 6c 65 3b 0a 09 68 |cket **t|able;..h|
|000040d0| 61 73 68 69 6e 67 5f 66 | 75 6e 63 74 69 6f 6e 5f |ashing_f|unction_|
|000040e0| 74 20 68 61 73 68 69 6e | 67 5f 66 75 6e 63 74 69 |t hashin|g_functi|
|000040f0| 6f 6e 3b 0a 7d 3b 0a 0a | 65 78 74 65 72 6e 20 73 |on;.};..|extern s|
|00004100| 74 72 75 63 74 20 68 61 | 73 68 5f 74 61 62 6c 65 |truct ha|sh_table|
|00004110| 20 2a 68 61 73 68 5f 74 | 61 62 6c 65 5f 62 75 69 | *hash_t|able_bui|
|00004120| 6c 64 28 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |ld(unsig|ned long|
|00004130| 20 73 69 7a 65 29 3b 0a | 65 78 74 65 72 6e 20 73 | size);.|extern s|
|00004140| 74 72 75 63 74 20 68 61 | 73 68 5f 74 61 62 6c 65 |truct ha|sh_table|
|00004150| 20 2a 68 61 73 68 5f 74 | 61 62 6c 65 5f 62 75 69 | *hash_t|able_bui|
|00004160| 6c 64 5f 64 65 66 61 75 | 6c 74 28 76 6f 69 64 29 |ld_defau|lt(void)|
|00004170| 3b 0a 65 78 74 65 72 6e | 20 76 6f 69 64 20 68 61 |;.extern| void ha|
|00004180| 73 68 5f 74 61 62 6c 65 | 5f 73 65 74 5f 68 61 73 |sh_table|_set_has|
|00004190| 68 69 6e 67 5f 66 75 6e | 63 74 69 6f 6e 28 73 74 |hing_fun|ction(st|
|000041a0| 72 75 63 74 20 68 61 73 | 68 5f 74 61 62 6c 65 20 |ruct has|h_table |
|000041b0| 2a 74 61 62 6c 65 2c 20 | 68 61 73 68 69 6e 67 5f |*table, |hashing_|
|000041c0| 66 75 6e 63 74 69 6f 6e | 5f 74 20 66 75 6e 63 74 |function|_t funct|
|000041d0| 69 6f 6e 29 3b 0a 65 78 | 74 65 72 6e 20 69 6e 74 |ion);.ex|tern int|
|000041e0| 20 68 61 73 68 5f 74 61 | 62 6c 65 5f 66 72 65 65 | hash_ta|ble_free|
|000041f0| 28 73 74 72 75 63 74 20 | 68 61 73 68 5f 74 61 62 |(struct |hash_tab|
|00004200| 6c 65 20 2a 74 61 62 6c | 65 29 3b 0a 65 78 74 65 |le *tabl|e);.exte|
|00004210| 72 6e 20 69 6e 74 20 68 | 61 73 68 5f 74 61 62 6c |rn int h|ash_tabl|
|00004220| 65 5f 73 74 6f 72 65 5f | 6b 65 79 28 73 74 72 75 |e_store_|key(stru|
|00004230| 63 74 20 68 61 73 68 5f | 74 61 62 6c 65 20 2a 74 |ct hash_|table *t|
|00004240| 61 62 6c 65 2c 20 63 6f | 6e 73 74 20 76 6f 69 64 |able, co|nst void|
|00004250| 20 2a 6b 65 79 2c 20 75 | 6e 73 69 67 6e 65 64 20 | *key, u|nsigned |
|00004260| 6c 6f 6e 67 20 73 69 7a | 65 29 3b 0a 65 78 74 65 |long siz|e);.exte|
|00004270| 72 6e 20 69 6e 74 20 68 | 61 73 68 5f 74 61 62 6c |rn int h|ash_tabl|
|00004280| 65 5f 65 78 69 73 74 73 | 28 73 74 72 75 63 74 20 |e_exists|(struct |
|00004290| 68 61 73 68 5f 74 61 62 | 6c 65 20 2a 74 61 62 6c |hash_tab|le *tabl|
|000042a0| 65 2c 20 63 6f 6e 73 74 | 20 76 6f 69 64 20 2a 6b |e, const| void *k|
|000042b0| 65 79 2c 20 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |ey, unsi|gned lon|
|000042c0| 67 20 73 69 7a 65 29 3b | 0a 65 78 74 65 72 6e 20 |g size);|.extern |
|000042d0| 69 6e 74 20 68 61 73 68 | 5f 74 61 62 6c 65 5f 64 |int hash|_table_d|
|000042e0| 65 6c 65 74 65 28 73 74 | 72 75 63 74 20 68 61 73 |elete(st|ruct has|
|000042f0| 68 5f 74 61 62 6c 65 20 | 2a 74 61 62 6c 65 2c 20 |h_table |*table, |
|00004300| 63 6f 6e 73 74 20 76 6f | 69 64 20 2a 6b 65 79 2c |const vo|id *key,|
|00004310| 20 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 73 | unsigne|d long s|
|00004320| 69 7a 65 29 3b 0a 65 78 | 74 65 72 6e 20 69 6e 74 |ize);.ex|tern int|
|00004330| 20 68 61 73 68 5f 74 61 | 62 6c 65 5f 73 74 6f 72 | hash_ta|ble_stor|
|00004340| 65 5f 64 61 74 61 70 74 | 72 28 73 74 72 75 63 74 |e_datapt|r(struct|
|00004350| 20 68 61 73 68 5f 74 61 | 62 6c 65 20 2a 74 61 62 | hash_ta|ble *tab|
|00004360| 6c 65 2c 20 63 6f 6e 73 | 74 20 76 6f 69 64 20 2a |le, cons|t void *|
|00004370| 6b 65 79 2c 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |key, uns|igned lo|
|00004380| 6e 67 20 6b 73 69 7a 65 | 2c 20 63 6f 6e 73 74 20 |ng ksize|, const |
|00004390| 76 6f 69 64 20 2a 64 61 | 74 61 2c 20 75 6e 73 69 |void *da|ta, unsi|
|000043a0| 67 6e 65 64 20 6c 6f 6e | 67 20 64 73 69 7a 65 29 |gned lon|g dsize)|
|000043b0| 3b 0a 65 78 74 65 72 6e | 20 69 6e 74 20 68 61 73 |;.extern| int has|
|000043c0| 68 5f 74 61 62 6c 65 5f | 73 74 6f 72 65 5f 64 61 |h_table_|store_da|
|000043d0| 74 61 28 73 74 72 75 63 | 74 20 68 61 73 68 5f 74 |ta(struc|t hash_t|
|000043e0| 61 62 6c 65 20 2a 74 61 | 62 6c 65 2c 20 63 6f 6e |able *ta|ble, con|
|000043f0| 73 74 20 76 6f 69 64 20 | 2a 6b 65 79 2c 20 75 6e |st void |*key, un|
|00004400| 73 69 67 6e 65 64 20 6c | 6f 6e 67 20 6b 73 69 7a |signed l|ong ksiz|
|00004410| 65 2c 20 63 6f 6e 73 74 | 20 76 6f 69 64 20 2a 64 |e, const| void *d|
|00004420| 61 74 61 2c 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |ata, uns|igned lo|
|00004430| 6e 67 20 64 73 69 7a 65 | 29 3b 0a 65 78 74 65 72 |ng dsize|);.exter|
|00004440| 6e 20 69 6e 74 20 68 61 | 73 68 5f 74 61 62 6c 65 |n int ha|sh_table|
|00004450| 5f 73 74 6f 72 65 28 73 | 74 72 75 63 74 20 68 61 |_store(s|truct ha|
|00004460| 73 68 5f 74 61 62 6c 65 | 20 2a 74 61 62 6c 65 2c |sh_table| *table,|
|00004470| 20 63 6f 6e 73 74 20 76 | 6f 69 64 20 2a 6b 65 79 | const v|oid *key|
|00004480| 2c 20 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |, unsign|ed long |
|00004490| 6b 73 69 7a 65 2c 20 63 | 6f 6e 73 74 20 76 6f 69 |ksize, c|onst voi|
|000044a0| 64 20 2a 64 61 74 61 2c | 20 75 6e 73 69 67 6e 65 |d *data,| unsigne|
|000044b0| 64 20 6c 6f 6e 67 20 64 | 73 69 7a 65 29 3b 0a 65 |d long d|size);.e|
|000044c0| 78 74 65 72 6e 20 76 6f | 69 64 20 2a 68 61 73 68 |xtern vo|id *hash|
|000044d0| 5f 74 61 62 6c 65 5f 66 | 65 74 63 68 28 73 74 72 |_table_f|etch(str|
|000044e0| 75 63 74 20 68 61 73 68 | 5f 74 61 62 6c 65 20 2a |uct hash|_table *|
|000044f0| 74 61 62 6c 65 2c 20 63 | 6f 6e 73 74 20 76 6f 69 |table, c|onst voi|
|00004500| 64 20 2a 6b 65 79 2c 20 | 75 6e 73 69 67 6e 65 64 |d *key, |unsigned|
|00004510| 20 6c 6f 6e 67 20 73 69 | 7a 65 29 3b 0a 0a 23 65 | long si|ze);..#e|
|00004520| 6e 64 69 66 20 2f 2a 20 | 21 5f 48 41 53 48 5f 48 |ndif /* |!_HASH_H|
|00004530| 5f 20 2a 2f 0a 00 00 00 | 00 00 00 00 00 00 00 00 |_ */....|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 70 |cutils-1|.0/lib/p|
|00004610| 61 74 74 65 72 6e 2e 63 | 00 00 00 00 00 00 00 00 |attern.c|........|
|00004620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00004670| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00004680| 20 20 20 34 36 33 33 20 | 20 36 31 36 34 37 33 31 | 4633 | 6164731|
|00004690| 36 37 37 20 20 31 34 31 | 36 33 00 20 30 00 00 00 |677 141|63. 0...|
|000046a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004720| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000047f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004800| 2f 2a 0a 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 |/*. * Co|pyright |
|00004810| 28 63 29 20 31 39 39 35 | 2c 20 31 39 39 36 0a 20 |(c) 1995|, 1996. |
|00004820| 2a 09 53 61 6e 64 72 6f | 20 53 69 67 61 6c 61 2c |*.Sandro| Sigala,|
|00004830| 20 42 72 65 73 63 69 61 | 2c 20 49 74 61 6c 79 2e | Brescia|, Italy.|
|00004840| 20 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 | All ri|ghts res|
|00004850| 65 72 76 65 64 2e 0a 20 | 2a 0a 20 2a 20 52 65 64 |erved.. |*. * Red|
|00004860| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 20 |istribut|ion and |
|00004870| 75 73 65 20 69 6e 20 73 | 6f 75 72 63 65 20 61 6e |use in s|ource an|
|00004880| 64 20 62 69 6e 61 72 79 | 20 66 6f 72 6d 73 2c 20 |d binary| forms, |
|00004890| 77 69 74 68 20 6f 72 20 | 77 69 74 68 6f 75 74 0a |with or |without.|
|000048a0| 20 2a 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 2c | * modif|ication,|
|000048b0| 20 61 72 65 20 70 65 72 | 6d 69 74 74 65 64 20 70 | are per|mitted p|
|000048c0| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|000048d0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 64 69 | followi|ng condi|
|000048e0| 74 69 6f 6e 73 0a 20 2a | 20 61 72 65 20 6d 65 74 |tions. *| are met|
|000048f0| 3a 0a 20 2a 20 31 2e 20 | 52 65 64 69 73 74 72 69 |:. * 1. |Redistri|
|00004900| 62 75 74 69 6f 6e 73 20 | 6f 66 20 73 6f 75 72 63 |butions |of sourc|
|00004910| 65 20 63 6f 64 65 20 6d | 75 73 74 20 72 65 74 61 |e code m|ust reta|
|00004920| 69 6e 20 74 68 65 20 61 | 62 6f 76 65 20 63 6f 70 |in the a|bove cop|
|00004930| 79 72 69 67 68 74 0a 20 | 2a 20 20 20 20 6e 6f 74 |yright. |* not|
|00004940| 69 63 65 2c 20 74 68 69 | 73 20 6c 69 73 74 20 6f |ice, thi|s list o|
|00004950| 66 20 63 6f 6e 64 69 74 | 69 6f 6e 73 20 61 6e 64 |f condit|ions and|
|00004960| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 64 | the fol|lowing d|
|00004970| 69 73 63 6c 61 69 6d 65 | 72 2e 0a 20 2a 20 32 2e |isclaime|r.. * 2.|
|00004980| 20 52 65 64 69 73 74 72 | 69 62 75 74 69 6f 6e 73 | Redistr|ibutions|
|00004990| 20 69 6e 20 62 69 6e 61 | 72 79 20 66 6f 72 6d 20 | in bina|ry form |
|000049a0| 6d 75 73 74 20 72 65 70 | 72 6f 64 75 63 65 20 74 |must rep|roduce t|
|000049b0| 68 65 20 61 62 6f 76 65 | 20 63 6f 70 79 72 69 67 |he above| copyrig|
|000049c0| 68 74 0a 20 2a 20 20 20 | 20 6e 6f 74 69 63 65 2c |ht. * | notice,|
|000049d0| 20 74 68 69 73 20 6c 69 | 73 74 20 6f 66 20 63 6f | this li|st of co|
|000049e0| 6e 64 69 74 69 6f 6e 73 | 20 61 6e 64 20 74 68 65 |nditions| and the|
|000049f0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 64 69 73 63 6c | followi|ng discl|
|00004a00| 61 69 6d 65 72 20 69 6e | 20 74 68 65 0a 20 2a 20 |aimer in| the. * |
|00004a10| 20 20 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e | docum|entation|
|00004a20| 20 61 6e 64 2f 6f 72 20 | 6f 74 68 65 72 20 6d 61 | and/or |other ma|
|00004a30| 74 65 72 69 61 6c 73 20 | 70 72 6f 76 69 64 65 64 |terials |provided|
|00004a40| 20 77 69 74 68 20 74 68 | 65 20 64 69 73 74 72 69 | with th|e distri|
|00004a50| 62 75 74 69 6f 6e 2e 0a | 20 2a 20 33 2e 20 41 6c |bution..| * 3. Al|
|00004a60| 6c 20 61 64 76 65 72 74 | 69 73 69 6e 67 20 6d 61 |l advert|ising ma|
|00004a70| 74 65 72 69 61 6c 73 20 | 6d 65 6e 74 69 6f 6e 69 |terials |mentioni|
|00004a80| 6e 67 20 66 65 61 74 75 | 72 65 73 20 6f 72 20 75 |ng featu|res or u|
|00004a90| 73 65 20 6f 66 20 74 68 | 69 73 20 73 6f 66 74 77 |se of th|is softw|
|00004aa0| 61 72 65 0a 20 2a 20 20 | 20 20 6d 75 73 74 20 64 |are. * | must d|
|00004ab0| 69 73 70 6c 61 79 20 74 | 68 65 20 66 6f 6c 6c 6f |isplay t|he follo|
|00004ac0| 77 69 6e 67 20 61 63 6b | 6e 6f 77 6c 65 64 67 65 |wing ack|nowledge|
|00004ad0| 6d 65 6e 74 3a 0a 20 2a | 09 54 68 69 73 20 70 72 |ment:. *|.This pr|
|00004ae0| 6f 64 75 63 74 20 69 6e | 63 6c 75 64 65 73 20 73 |oduct in|cludes s|
|00004af0| 6f 66 74 77 61 72 65 20 | 64 65 76 65 6c 6f 70 65 |oftware |develope|
|00004b00| 64 20 62 79 20 53 61 6e | 64 72 6f 20 53 69 67 61 |d by San|dro Siga|
|00004b10| 6c 61 2e 0a 20 2a 20 34 | 2e 20 4e 65 69 74 68 65 |la.. * 4|. Neithe|
|00004b20| 72 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |r the na|me of th|
|00004b30| 65 20 61 75 74 68 6f 72 | 20 6e 6f 72 20 74 68 65 |e author| nor the|
|00004b40| 20 6e 61 6d 65 73 20 6f | 66 20 61 6e 79 20 63 6f | names o|f any co|
|00004b50| 2d 63 6f 6e 74 72 69 62 | 75 74 6f 72 73 0a 20 2a |-contrib|utors. *|
|00004b60| 20 20 20 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 | may |be used |
|00004b70| 74 6f 20 65 6e 64 6f 72 | 73 65 20 6f 72 20 70 72 |to endor|se or pr|
|00004b80| 6f 6d 6f 74 65 20 70 72 | 6f 64 75 63 74 73 20 64 |omote pr|oducts d|
|00004b90| 65 72 69 76 65 64 20 66 | 72 6f 6d 20 74 68 69 73 |erived f|rom this|
|00004ba0| 20 73 6f 66 74 77 61 72 | 65 0a 20 2a 20 20 20 20 | softwar|e. * |
|00004bb0| 77 69 74 68 6f 75 74 20 | 73 70 65 63 69 66 69 63 |without |specific|
|00004bc0| 20 70 72 69 6f 72 20 77 | 72 69 74 74 65 6e 20 70 | prior w|ritten p|
|00004bd0| 65 72 6d 69 73 73 69 6f | 6e 2e 0a 20 2a 0a 20 2a |ermissio|n.. *. *|
|00004be0| 20 54 48 49 53 20 53 4f | 46 54 57 41 52 45 20 49 | THIS SO|FTWARE I|
|00004bf0| 53 20 50 52 4f 56 49 44 | 45 44 20 42 59 20 54 48 |S PROVID|ED BY TH|
|00004c00| 45 20 41 55 54 48 4f 52 | 20 41 4e 44 20 43 4f 4e |E AUTHOR| AND CON|
|00004c10| 54 52 49 42 55 54 4f 52 | 53 20 60 60 41 53 20 49 |TRIBUTOR|S ``AS I|
|00004c20| 53 27 27 20 41 4e 44 0a | 20 2a 20 41 4e 59 20 45 |S'' AND.| * ANY E|
|00004c30| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00004c40| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00004c50| 43 4c 55 44 49 4e 47 2c | 20 42 55 54 20 4e 4f 54 |CLUDING,| BUT NOT|
|00004c60| 20 4c 49 4d 49 54 45 44 | 20 54 4f 2c 20 54 48 45 | LIMITED| TO, THE|
|00004c70| 0a 20 2a 20 49 4d 50 4c | 49 45 44 20 57 41 52 52 |. * IMPL|IED WARR|
|00004c80| 41 4e 54 49 45 53 20 4f | 46 20 4d 45 52 43 48 41 |ANTIES O|F MERCHA|
|00004c90| 4e 54 41 42 49 4c 49 54 | 59 20 41 4e 44 20 46 49 |NTABILIT|Y AND FI|
|00004ca0| 54 4e 45 53 53 20 46 4f | 52 20 41 20 50 41 52 54 |TNESS FO|R A PART|
|00004cb0| 49 43 55 4c 41 52 20 50 | 55 52 50 4f 53 45 0a 20 |ICULAR P|URPOSE. |
|00004cc0| 2a 20 41 52 45 20 44 49 | 53 43 4c 41 49 4d 45 44 |* ARE DI|SCLAIMED|
|00004cd0| 2e 20 20 49 4e 20 4e 4f | 20 45 56 45 4e 54 20 53 |. IN NO| EVENT S|
|00004ce0| 48 41 4c 4c 20 54 48 45 | 20 41 55 54 48 4f 52 20 |HALL THE| AUTHOR |
|00004cf0| 4f 52 20 43 4f 4e 54 52 | 49 42 55 54 4f 52 53 20 |OR CONTR|IBUTORS |
|00004d00| 42 45 20 4c 49 41 42 4c | 45 0a 20 2a 20 46 4f 52 |BE LIABL|E. * FOR|
|00004d10| 20 41 4e 59 20 44 49 52 | 45 43 54 2c 20 49 4e 44 | ANY DIR|ECT, IND|
|00004d20| 49 52 45 43 54 2c 20 49 | 4e 43 49 44 45 4e 54 41 |IRECT, I|NCIDENTA|
|00004d30| 4c 2c 20 53 50 45 43 49 | 41 4c 2c 20 45 58 45 4d |L, SPECI|AL, EXEM|
|00004d40| 50 4c 41 52 59 2c 20 4f | 52 20 43 4f 4e 53 45 51 |PLARY, O|R CONSEQ|
|00004d50| 55 45 4e 54 49 41 4c 0a | 20 2a 20 44 41 4d 41 47 |UENTIAL.| * DAMAG|
|00004d60| 45 53 20 28 49 4e 43 4c | 55 44 49 4e 47 2c 20 42 |ES (INCL|UDING, B|
|00004d70| 55 54 20 4e 4f 54 20 4c | 49 4d 49 54 45 44 20 54 |UT NOT L|IMITED T|
|00004d80| 4f 2c 20 50 52 4f 43 55 | 52 45 4d 45 4e 54 20 4f |O, PROCU|REMENT O|
|00004d90| 46 20 53 55 42 53 54 49 | 54 55 54 45 20 47 4f 4f |F SUBSTI|TUTE GOO|
|00004da0| 44 53 0a 20 2a 20 4f 52 | 20 53 45 52 56 49 43 45 |DS. * OR| SERVICE|
|00004db0| 53 3b 20 4c 4f 53 53 20 | 4f 46 20 55 53 45 2c 20 |S; LOSS |OF USE, |
|00004dc0| 44 41 54 41 2c 20 4f 52 | 20 50 52 4f 46 49 54 53 |DATA, OR| PROFITS|
|00004dd0| 3b 20 4f 52 20 42 55 53 | 49 4e 45 53 53 20 49 4e |; OR BUS|INESS IN|
|00004de0| 54 45 52 52 55 50 54 49 | 4f 4e 29 0a 20 2a 20 48 |TERRUPTI|ON). * H|
|00004df0| 4f 57 45 56 45 52 20 43 | 41 55 53 45 44 20 41 4e |OWEVER C|AUSED AN|
|00004e00| 44 20 4f 4e 20 41 4e 59 | 20 54 48 45 4f 52 59 20 |D ON ANY| THEORY |
|00004e10| 4f 46 20 4c 49 41 42 49 | 4c 49 54 59 2c 20 57 48 |OF LIABI|LITY, WH|
|00004e20| 45 54 48 45 52 20 49 4e | 20 43 4f 4e 54 52 41 43 |ETHER IN| CONTRAC|
|00004e30| 54 2c 20 53 54 52 49 43 | 54 0a 20 2a 20 4c 49 41 |T, STRIC|T. * LIA|
|00004e40| 42 49 4c 49 54 59 2c 20 | 4f 52 20 54 4f 52 54 20 |BILITY, |OR TORT |
|00004e50| 28 49 4e 43 4c 55 44 49 | 4e 47 20 4e 45 47 4c 49 |(INCLUDI|NG NEGLI|
|00004e60| 47 45 4e 43 45 20 4f 52 | 20 4f 54 48 45 52 57 49 |GENCE OR| OTHERWI|
|00004e70| 53 45 29 20 41 52 49 53 | 49 4e 47 20 49 4e 20 41 |SE) ARIS|ING IN A|
|00004e80| 4e 59 20 57 41 59 0a 20 | 2a 20 4f 55 54 20 4f 46 |NY WAY. |* OUT OF|
|00004e90| 20 54 48 45 20 55 53 45 | 20 4f 46 20 54 48 49 53 | THE USE| OF THIS|
|00004ea0| 20 53 4f 46 54 57 41 52 | 45 2c 20 45 56 45 4e 20 | SOFTWAR|E, EVEN |
|00004eb0| 49 46 20 41 44 56 49 53 | 45 44 20 4f 46 20 54 48 |IF ADVIS|ED OF TH|
|00004ec0| 45 20 50 4f 53 53 49 42 | 49 4c 49 54 59 20 4f 46 |E POSSIB|ILITY OF|
|00004ed0| 0a 20 2a 20 53 55 43 48 | 20 44 41 4d 41 47 45 2e |. * SUCH| DAMAGE.|
|00004ee0| 0a 20 2a 0a 20 2a 20 24 | 49 64 3a 20 70 61 74 74 |. *. * $|Id: patt|
|00004ef0| 65 72 6e 2e 63 2c 76 20 | 31 2e 36 20 31 39 39 36 |ern.c,v |1.6 1996|
|00004f00| 2f 30 36 2f 32 38 20 31 | 30 3a 32 38 3a 31 35 20 |/06/28 1|0:28:15 |
|00004f10| 73 61 6e 64 72 6f 20 45 | 78 70 20 24 0a 20 2a 2f |sandro E|xp $. */|
|00004f20| 0a 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 64 69 |..#inclu|de <stdi|
|00004f30| 6f 2e 68 3e 0a 0a 69 6e | 74 0a 70 61 74 74 65 72 |o.h>..in|t.patter|
|00004f40| 6e 5f 6d 61 74 63 68 28 | 63 6f 6e 73 74 20 63 68 |n_match(|const ch|
|00004f50| 61 72 20 2a 62 75 66 66 | 65 72 2c 20 63 6f 6e 73 |ar *buff|er, cons|
|00004f60| 74 20 63 68 61 72 20 2a | 70 61 74 74 65 72 6e 29 |t char *|pattern)|
|00004f70| 0a 7b 0a 09 69 6e 74 20 | 69 3b 0a 0a 09 69 66 20 |.{..int |i;...if |
|00004f80| 28 28 2a 70 61 74 74 65 | 72 6e 20 3d 3d 20 27 5c |((*patte|rn == '\|
|00004f90| 30 27 29 20 26 26 20 28 | 2a 62 75 66 66 65 72 20 |0') && (|*buffer |
|00004fa0| 3d 3d 20 27 5c 30 27 29 | 29 0a 09 09 72 65 74 75 |== '\0')|)...retu|
|00004fb0| 72 6e 20 31 3b 0a 0a 09 | 69 66 20 28 2a 70 61 74 |rn 1;...|if (*pat|
|00004fc0| 74 65 72 6e 20 3d 3d 20 | 27 5c 30 27 29 0a 09 09 |tern == |'\0')...|
|00004fd0| 72 65 74 75 72 6e 20 30 | 3b 0a 0a 09 69 66 20 28 |return 0|;...if (|
|00004fe0| 2a 70 61 74 74 65 72 6e | 20 3d 3d 20 27 2a 27 29 |*pattern| == '*')|
|00004ff0| 20 7b 0a 09 09 69 66 20 | 28 2a 28 70 61 74 74 65 | {...if |(*(patte|
|00005000| 72 6e 20 2b 20 31 29 20 | 3d 3d 20 27 5c 30 27 29 |rn + 1) |== '\0')|
|00005010| 0a 09 09 09 72 65 74 75 | 72 6e 20 31 3b 0a 0a 09 |....retu|rn 1;...|
|00005020| 09 66 6f 72 20 28 69 20 | 3d 20 30 3b 20 69 20 3c |.for (i |= 0; i <|
|00005030| 3d 20 73 74 72 6c 65 6e | 28 62 75 66 66 65 72 29 |= strlen|(buffer)|
|00005040| 3b 20 69 2b 2b 29 0a 09 | 09 09 69 66 20 28 28 28 |; i++)..|..if (((|
|00005050| 2a 28 62 75 66 66 65 72 | 20 2b 20 69 29 20 3d 3d |*(buffer| + i) ==|
|00005060| 20 2a 28 70 61 74 74 65 | 72 6e 20 2b 20 31 29 29 | *(patte|rn + 1))|
|00005070| 20 7c 7c 0a 09 09 09 20 | 20 20 20 28 2a 28 70 61 | ||.... | (*(pa|
|00005080| 74 74 65 72 6e 20 2b 20 | 31 29 20 3d 3d 20 27 3f |ttern + |1) == '?|
|00005090| 27 29 29 20 26 26 0a 09 | 09 09 20 20 20 20 28 70 |')) &&..|.. (p|
|000050a0| 61 74 74 65 72 6e 5f 6d | 61 74 63 68 28 62 75 66 |attern_m|atch(buf|
|000050b0| 66 65 72 20 2b 20 69 20 | 2b 20 31 2c 20 70 61 74 |fer + i |+ 1, pat|
|000050c0| 74 65 72 6e 20 2b 20 32 | 29 20 3d 3d 20 31 29 29 |tern + 2|) == 1))|
|000050d0| 0a 09 09 09 09 72 65 74 | 75 72 6e 20 31 3b 0a 20 |.....ret|urn 1;. |
|000050e0| 20 20 20 09 7d 20 65 6c | 73 65 20 7b 0a 09 09 69 | .} el|se {...i|
|000050f0| 66 20 28 2a 62 75 66 66 | 65 72 20 3d 3d 20 27 5c |f (*buff|er == '\|
|00005100| 30 27 29 0a 09 09 09 72 | 65 74 75 72 6e 20 30 3b |0')....r|eturn 0;|
|00005110| 0a 0a 09 09 69 66 20 28 | 28 28 2a 70 61 74 74 65 |....if (|((*patte|
|00005120| 72 6e 20 3d 3d 20 27 3f | 27 29 20 7c 7c 20 28 2a |rn == '?|') || (*|
|00005130| 70 61 74 74 65 72 6e 20 | 3d 3d 20 2a 62 75 66 66 |pattern |== *buff|
|00005140| 65 72 29 29 20 26 26 0a | 09 09 20 20 20 20 28 70 |er)) &&.|.. (p|
|00005150| 61 74 74 65 72 6e 5f 6d | 61 74 63 68 28 62 75 66 |attern_m|atch(buf|
|00005160| 66 65 72 20 2b 20 31 2c | 20 70 61 74 74 65 72 6e |fer + 1,| pattern|
|00005170| 20 2b 20 31 29 20 3d 3d | 20 31 29 29 0a 09 09 09 | + 1) ==| 1))....|
|00005180| 72 65 74 75 72 6e 20 31 | 3b 0a 09 7d 0a 0a 09 72 |return 1|;..}...r|
|00005190| 65 74 75 72 6e 20 30 3b | 0a 7d 0a 00 00 00 00 00 |eturn 0;|.}......|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 70 |cutils-1|.0/lib/p|
|00005210| 61 74 74 65 72 6e 2e 68 | 00 00 00 00 00 00 00 00 |attern.h|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00005270| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00005280| 20 20 20 20 31 30 33 20 | 20 36 31 35 37 33 34 33 | 103 | 6157343|
|00005290| 36 33 35 20 20 31 34 31 | 32 37 00 20 30 00 00 00 |635 141|27. 0...|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 65 78 74 65 72 6e 20 69 | 6e 74 20 70 61 74 74 65 |extern i|nt patte|
|00005410| 72 6e 5f 6d 61 74 63 68 | 28 63 6f 6e 73 74 20 63 |rn_match|(const c|
|00005420| 68 61 72 20 2a 62 75 66 | 66 65 72 2c 20 63 6f 6e |har *buf|fer, con|
|00005430| 73 74 20 63 68 61 72 20 | 2a 70 61 74 74 65 72 6e |st char |*pattern|
|00005440| 29 3b 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |);......|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 76 |cutils-1|.0/lib/v|
|00005610| 65 72 73 69 6f 6e 2e 63 | 00 00 00 00 00 00 00 00 |ersion.c|........|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00005670| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00005680| 20 20 20 20 20 35 33 20 | 20 36 31 36 35 32 35 37 | 53 | 6165257|
|00005690| 35 33 34 20 20 31 34 31 | 31 37 00 20 30 00 00 00 |534 141|17. 0...|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 63 6f 6e 73 74 20 63 68 | 61 72 20 2a 76 65 72 73 |const ch|ar *vers|
|00005810| 69 6f 6e 5f 73 74 72 69 | 6e 67 20 3d 20 22 63 75 |ion_stri|ng = "cu|
|00005820| 74 69 6c 73 20 31 2e 30 | 22 3b 0a 00 00 00 00 00 |tils 1.0|";......|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 6c 69 62 2f 76 |cutils-1|.0/lib/v|
|00005a10| 65 72 73 69 6f 6e 2e 68 | 00 00 00 00 00 00 00 00 |ersion.h|........|
|00005a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00005a70| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00005a80| 20 20 20 20 20 34 33 20 | 20 36 31 35 36 35 33 30 | 43 | 6156530|
|00005a90| 30 30 35 20 20 31 34 31 | 30 36 00 20 30 00 00 00 |005 141|06. 0...|
|00005aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b00| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00005b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 65 78 74 65 72 6e 20 63 | 6f 6e 73 74 20 63 68 61 |extern c|onst cha|
|00005c10| 72 20 2a 76 65 72 73 69 | 6f 6e 5f 73 74 72 69 6e |r *versi|on_strin|
|00005c20| 67 3b 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |g;......|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 63 75 74 69 6c 73 2d 31 | 2e 30 2f 43 4f 50 59 52 |cutils-1|.0/COPYR|
|00005e10| 49 47 48 54 00 00 00 00 | 00 00 00 00 00 00 00 00 |IGHT....|........|
|00005e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00005e70| 32 37 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |27 . 1|44 . |
|00005e80| 20 20 20 33 32 31 33 20 | 20 36 31 36 35 30 30 30 | 3213 | 6165000|
|00005e90| 30 30 36 20 20 31 33 30 | 33 30 00 20 30 00 00 00 |006 130|30. 0...|
|00005ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 75 73 74 61 72 20 20 | 00 73 61 6e 64 72 6f 00 |.ustar |.sandro.|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 20 31 39 |Copyrigh|t (c) 19|
|00006010| 39 35 2c 20 31 39 39 36 | 0a 09 53 61 6e 64 72 6f |95, 1996|..Sandro|
|00006020| 20 53 69 67 61 6c 61 2c | 20 42 72 65 73 63 69 61 | Sigala,| Brescia|
|00006030| 2c 20 49 74 61 6c 79 2e | 20 20 41 6c 6c 20 72 69 |, Italy.| All ri|
|00006040| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 0a 0a |ghts res|erved...|
|00006050| 52 65 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 61 |Redistri|bution a|
|00006060| 6e 64 20 75 73 65 20 69 | 6e 20 73 6f 75 72 63 65 |nd use i|n source|
|00006070| 20 61 6e 64 20 62 69 6e | 61 72 79 20 66 6f 72 6d | and bin|ary form|
|00006080| 73 2c 20 77 69 74 68 20 | 6f 72 20 77 69 74 68 6f |s, with |or witho|
|00006090| 75 74 0a 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 2c |ut.modif|ication,|
|000060a0| 20 61 72 65 20 70 65 72 | 6d 69 74 74 65 64 20 70 | are per|mitted p|
|000060b0| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|000060c0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 64 69 | followi|ng condi|
|000060d0| 74 69 6f 6e 73 0a 61 72 | 65 20 6d 65 74 3a 0a 31 |tions.ar|e met:.1|
|000060e0| 2e 20 52 65 64 69 73 74 | 72 69 62 75 74 69 6f 6e |. Redist|ribution|
|000060f0| 73 20 6f 66 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |s of sou|rce code|
|00006100| 20 6d 75 73 74 20 72 65 | 74 61 69 6e 20 74 68 65 | must re|tain the|
|00006110| 20 61 62 6f 76 65 20 63 | 6f 70 79 72 69 67 68 74 | above c|opyright|
|00006120| 0a 20 20 20 6e 6f 74 69 | 63 65 2c 20 74 68 69 73 |. noti|ce, this|
|00006130| 20 6c 69 73 74 20 6f 66 | 20 63 6f 6e 64 69 74 69 | list of| conditi|
|00006140| 6f 6e 73 20 61 6e 64 20 | 74 68 65 20 66 6f 6c 6c |ons and |the foll|
|00006150| 6f 77 69 6e 67 20 64 69 | 73 63 6c 61 69 6d 65 72 |owing di|sclaimer|
|00006160| 2e 0a 32 2e 20 52 65 64 | 69 73 74 72 69 62 75 74 |..2. Red|istribut|
|00006170| 69 6f 6e 73 20 69 6e 20 | 62 69 6e 61 72 79 20 66 |ions in |binary f|
|00006180| 6f 72 6d 20 6d 75 73 74 | 20 72 65 70 72 6f 64 75 |orm must| reprodu|
|00006190| 63 65 20 74 68 65 20 61 | 62 6f 76 65 20 63 6f 70 |ce the a|bove cop|
|000061a0| 79 72 69 67 68 74 0a 20 | 20 20 6e 6f 74 69 63 65 |yright. | notice|
|000061b0| 2c 20 74 68 69 73 20 6c | 69 73 74 20 6f 66 20 63 |, this l|ist of c|
|000061c0| 6f 6e 64 69 74 69 6f 6e | 73 20 61 6e 64 20 74 68 |ondition|s and th|
|000061d0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 64 69 73 63 |e follow|ing disc|
|000061e0| 6c 61 69 6d 65 72 20 69 | 6e 20 74 68 65 0a 20 20 |laimer i|n the. |
|000061f0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 61 | documen|tation a|
|00006200| 6e 64 2f 6f 72 20 6f 74 | 68 65 72 20 6d 61 74 65 |nd/or ot|her mate|
|00006210| 72 69 61 6c 73 20 70 72 | 6f 76 69 64 65 64 20 77 |rials pr|ovided w|
|00006220| 69 74 68 20 74 68 65 20 | 64 69 73 74 72 69 62 75 |ith the |distribu|
|00006230| 74 69 6f 6e 2e 0a 33 2e | 20 41 6c 6c 20 61 64 76 |tion..3.| All adv|
|00006240| 65 72 74 69 73 69 6e 67 | 20 6d 61 74 65 72 69 61 |ertising| materia|
|00006250| 6c 73 20 6d 65 6e 74 69 | 6f 6e 69 6e 67 20 66 65 |ls menti|oning fe|
|00006260| 61 74 75 72 65 73 20 6f | 72 20 75 73 65 20 6f 66 |atures o|r use of|
|00006270| 20 74 68 69 73 20 73 6f | 66 74 77 61 72 65 0a 20 | this so|ftware. |
|00006280| 20 20 6d 75 73 74 20 64 | 69 73 70 6c 61 79 20 74 | must d|isplay t|
|00006290| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 61 63 6b |he follo|wing ack|
|000062a0| 6e 6f 77 6c 65 64 67 65 | 6d 65 6e 74 3a 0a 09 54 |nowledge|ment:..T|
|000062b0| 68 69 73 20 70 72 6f 64 | 75 63 74 20 69 6e 63 6c |his prod|uct incl|
|000062c0| 75 64 65 73 20 73 6f 66 | 74 77 61 72 65 20 64 65 |udes sof|tware de|
|000062d0| 76 65 6c 6f 70 65 64 20 | 62 79 20 53 61 6e 64 72 |veloped |by Sandr|
|000062e0| 6f 20 53 69 67 61 6c 61 | 2e 0a 34 2e 20 4e 65 69 |o Sigala|..4. Nei|
|000062f0| 74 68 65 72 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |ther the| name of|
|00006300| 20 74 68 65 20 61 75 74 | 68 6f 72 20 6e 6f 72 20 | the aut|hor nor |
|00006310| 74 68 65 20 6e 61 6d 65 | 73 20 6f 66 20 61 6e 79 |the name|s of any|
|00006320| 20 63 6f 2d 63 6f 6e 74 | 72 69 62 75 74 6f 72 73 | co-cont|ributors|
|00006330| 0a 20 20 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |. may |be used |
|00006340| 74 6f 20 65 6e 64 6f 72 | 73 65 20 6f 72 20 70 72 |to endor|se or pr|
|00006350| 6f 6d 6f 74 65 20 70 72 | 6f 64 75 63 74 73 20 64 |omote pr|oducts d|
|00006360| 65 72 69 76 65 64 20 66 | 72 6f 6d 20 74 68 69 73 |erived f|rom this|
|00006370| 20 73 6f 66 74 77 61 72 | 65 0a 20 20 20 77 69 74 | softwar|e. wit|
|00006380| 68 6f 75 74 20 73 70 65 | 63 69 66 69 63 20 70 72 |hout spe|cific pr|
|00006390| 69 6f 72 20 77 72 69 74 | 74 65 6e 20 70 65 72 6d |ior writ|ten perm|
|000063a0| 69 73 73 69 6f 6e 2e 0a | 0a 54 48 49 53 20 53 4f |ission..|.THIS SO|
|000063b0| 46 54 57 41 52 45 20 49 | 53 20 50 52 4f 56 49 44 |FTWARE I|S PROVID|
|000063c0| 45 44 20 42 59 20 54 48 | 45 20 41 55 54 48 4f 52 |ED BY TH|E AUTHOR|
|000063d0| 20 41 4e 44 20 43 4f 4e | 54 52 49 42 55 54 4f 52 | AND CON|TRIBUTOR|
|000063e0| 53 20 60 60 41 53 20 49 | 53 27 27 20 41 4e 44 0a |S ``AS I|S'' AND.|
|000063f0| 41 4e 59 20 45 58 50 52 | 45 53 53 20 4f 52 20 49 |ANY EXPR|ESS OR I|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.